Files
linux/drivers
Arnd Bergmann a125eb8bec mptfusion: hide unused seq_mpt_print_ioc_summary function
commit 28558f5af5 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
..
2017-12-16 10:33:55 +01:00
2017-12-16 10:33:53 +01:00
2017-11-30 08:37:27 +00:00
2018-02-25 11:03:42 +01:00
2016-09-24 10:07:35 +02:00
2018-02-25 11:03:44 +01:00
2018-01-02 20:33:20 +01:00
2018-02-25 11:03:44 +01:00
2018-02-25 11:03:40 +01:00
2018-02-25 11:03:44 +01:00
2018-02-25 11:03:41 +01:00