android_kernel_oneplus_msm8998/drivers/message/fusion
Arnd Bergmann a125eb8bec mptfusion: hide unused seq_mpt_print_ioc_summary function
commit 28558f5af50d8335cbbc8bc2726e0747553e29f5 upstream.

The seq_mpt_print_ioc_summary function is used for the
/proc/mpt/iocN/summary implementation and never gets called when
CONFIG_PROC_FS is disabled:

drivers/message/fusion/mptbase.c:6851:13: warning: 'seq_mpt_print_ioc_summary' defined but not used [-Wunused-function]
 static void seq_mpt_print_ioc_summary(MPT_ADAPTER *ioc, struct seq_file *m, int showlan)

This adds an #ifdef to hide the function definition in that case and
avoid the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:03:45 +01:00
..
lsi
Kconfig
Makefile
mptbase.c mptfusion: hide unused seq_mpt_print_ioc_summary function 2018-02-25 11:03:45 +01:00
mptbase.h fusion: remove dead MTRR code 2015-06-13 08:44:14 -07:00
mptctl.c mptfusion: don't allow negative bytes in kbuf_alloc_2_sgl() 2015-11-11 20:58:06 -05:00
mptctl.h
mptdebug.h
mptfc.c
mptlan.c
mptlan.h
mptsas.c scsi: use host wide tags by default 2015-11-09 17:11:57 -08:00
mptsas.h
mptscsih.c
mptscsih.h
mptspi.c