init/main.c: silence some -Wunused-parameter warnings
authorAndrew Halaney <ahalaney@redhat.com>
Thu, 30 Dec 2021 09:29:12 +0000 (20:29 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 16 Jan 2022 07:39:37 +0000 (18:39 +1100)
commitf5090d41b953ab6e8c8a94bdc542628bc31421a5
tree4535ff9245389bc4d6b039d14a1ac092ec922268
parent21da7c8efbcb9751562bb7f9d19a82b2b0a424c6
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