init/main.c: silence some -Wunused-parameter warnings
authorAndrew Halaney <ahalaney@redhat.com>
Mon, 28 Feb 2022 23:02:20 +0000 (10:02 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Feb 2022 23:02:20 +0000 (10:02 +1100)
commit1d3c4056e76e8bf3fc62d20f64dc4f99cbdc3bc2
tree5bd3cba96fb3aea0e5067ab2a07fdfe35a3340a1
parent33471653c303d4d86960d09f28b6e9ea0d31fde4
init/main.c: silence some -Wunused-parameter warnings

There are a bunch of callbacks with unused arguments, go ahead and silence
those so "make KCFLAGS=-W init/main.o" is a little quieter.  Here's a
little sample:

init/main.c:182:43: warning: unused parameter 'str' [-Wunused-parameter]
static int __init set_reset_devices(char *str)

Link: https://lkml.kernel.org/r/20210519162341.1275452-1-ahalaney@redhat.com
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
init/main.c