]> www.infradead.org Git - users/jedix/linux-maple.git/commit
init/main.c: silence some -Wunused-parameter warnings
authorAndrew Halaney <ahalaney@redhat.com>
Tue, 24 Aug 2021 00:00:01 +0000 (10:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:55 +0000 (09:34 +1000)
commit4cd8e7febb4d3e5d51e3630cb296c415edca9b3b
treead045d4951e77f48332f9692a03d12a8b9e0b6ed
parent82d95a07f64fa9530e3f4ad492bae24dc96c8b4f
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