staging: lustre: osc: Make osc_init() static
authorAndreas Ruprecht <rupran@einserver.de>
Mon, 2 Feb 2015 19:24:14 +0000 (20:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:27:16 +0000 (17:27 +0800)
commitb47ea4bbfefac60ba24ae4ada637f997ed694716
treea45ed9ac3b4b2b4fff3d52ffafbe720f6eb00970
parent98ab6ff914b367bfd4aff30e2e94e01fb8a443af
staging: lustre: osc: Make osc_init() static

osc_init() is marked as the module_init function in osc_request.c
and is never used anywhere else. Hence, it can (and should) be
declared static.

sparse also complained about this with the following warning, which
is fixed by this patch.

andreas@workbox:~/linux-next$ make C=1 M=drivers/staging/lustre/lustre/osc/
[...]
drivers/staging/lustre/lustre/osc/osc_request.c:3335:12: warning:
symbol 'osc_init' was not declared. Should it be static?
[...]

Signed-off-by: Andreas Ruprecht <rupran@einserver.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_request.c