1
0
Fork 0
alistair23-linux/drivers/staging
Andreas Ruprecht b47ea4bbfe 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>
2015-02-07 17:27:16 +08:00
..
android staging: Remove logger and alarm-dev from android Makefile 2015-01-28 11:32:39 -08:00
board staging:board: remove unnecessary function 2015-01-17 16:17:11 -08:00
clocking-wizard staging: clocking-wizard: Handle invalid clk in notifier 2015-01-17 16:06:20 -08:00
comedi STAGING: Fix pcl818.c coding style issue: line over 80 characters 2015-02-07 17:15:42 +08:00
dgap staging: dgap: fix "if" statement that always evaluates to true 2015-01-25 20:08:13 +08:00
dgnc drivers/staging: use current->state helpers 2015-01-28 11:25:28 -08:00
emxx_udc staging: emxx_udc: Remove nbu2ss_drv_set_dp_info() 2015-02-07 17:15:43 +08:00
fbtft staging: fbtft: remove redundant .owner 2015-01-28 11:28:44 -08:00
ft1000 Staging: ft1000-pcmcia: fix else close brace style 2015-01-17 15:22:31 -08:00
fwserial staging: fwserial: remove multiple blank lines 2014-11-26 13:53:25 -08:00
gdm72xx More ACPI and power management updates for 3.19-rc1 2014-12-18 20:28:33 -08:00
gdm724x staging: gdm724x: fix line limit coding style issue in gdm_lte.c 2015-01-17 14:57:43 -08:00
goldfish staging: goldfish: avoid multiple assignments 2014-09-06 21:54:57 -07:00
gs_fpgaboot staging: gs_fpgaboot: io.c: Remove unused function 2015-01-17 15:19:52 -08:00
i2o i2o: move to staging 2015-02-03 15:58:39 -08:00
iio iio: core: Remove IIO_EV_TYPE_INSTANCE 2015-01-27 18:49:55 +00:00
line6 staging: line6: fix midibuf.c coding style issue 2014-09-23 23:41:25 -07:00
lustre staging: lustre: osc: Make osc_init() static 2015-02-07 17:27:16 +08:00
media Merge 3.19-rc7 into staging-next 2015-02-02 08:41:02 -08:00
mt29f_spinand staging: mt29f_spinand: Fix typo in Kconfig 2015-01-17 16:22:15 -08:00
netlogic Staging: NetLogic: Coding style correction 2015-01-17 15:17:10 -08:00
nvec staging: nvec: specify a platform-device base id 2015-01-25 19:04:31 +08:00
octeon Staging: octeon: Fixed a typo 2015-01-17 15:00:23 -08:00
octeon-usb Staging: octeon-usb: Fixed a typo 2015-01-17 15:00:23 -08:00
olpc_dcon staging: olpc_dcon: fix sparse symbol not declared warning 2015-01-17 15:17:10 -08:00
ozwpan Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
panel drivers/staging: use current->state helpers 2015-01-28 11:25:28 -08:00
rtl8188eu staging: rtl8188eu: use msecs_to_jiffies for conversions 2015-02-07 17:25:42 +08:00
rtl8192e Staging: rtl8192e: Fixed unnecessary line continuation. 2015-02-07 17:25:43 +08:00
rtl8192u Staging: rtl8192u: Use put_unaligned_le16 in rtl819x_BAProc.c 2015-01-28 11:12:35 -08:00
rtl8712 staging: rtl8712: condition with no effect removed 2015-02-07 17:24:59 +08:00
rtl8723au Staging: rtl8723au: fix space coding style issue in os_intfs.c 2015-01-25 19:59:18 +08:00
rts5208 staging: rts5208: use msecs_to_jiffies for timeouts 2015-01-25 19:59:19 +08:00
skein staging: skein: Fixing single statement macro checkpatch warning 2015-01-17 15:05:52 -08:00
slicoss Staging: slicoss: Fix long line issues in slicoss.c 2014-12-02 16:54:43 -08:00
sm7xxfb staging: sm7xxfb: fix alignment 2015-01-25 20:20:03 +08:00
speakup staging: speakup: Remove unnecessary space 2015-02-07 17:09:25 +08:00
ste_rmi4 Staging: ste_rmi4: add new line after declarations 2014-09-23 13:44:11 -07:00
unisys staging: unisys: Fix typo in comment 2015-02-07 17:18:38 +08:00
vme Staging: vme: devices: Use kasprintf 2014-10-27 10:33:05 +08:00
vt6655 staging: vt6655: vnt_rx_data add track rsr and new_rsr errors 2015-02-07 17:16:59 +08:00
vt6656 staging: vt6656: parse cts fall back out of vnt_fill_cts_head 2015-02-07 17:16:59 +08:00
wlan-ng staging: wlan-ng: hfa384x_usb: fix sparse endianness warnings 2015-01-25 19:59:19 +08:00
xgifb staging: xgifb: fix colours on big-endian machines other than powerpc 2015-02-07 17:24:11 +08:00
Kconfig staging: cptm1217: blow it all away 2015-02-03 15:58:52 -08:00
Makefile staging: cptm1217: blow it all away 2015-02-03 15:58:52 -08:00
staging.c