The implementation of our "hash_free" function varies in that the hash
data itself is not freed. Thus the function argument is unused, leading
to annoying compiler warning. Since there is nothing to be done here,
just silence it.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/361
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
static int freecount;
-static void countfreecalls(void *v)
+static void countfreecalls(_maybe_unused_ void *v)
{
freecount++;
}