diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-01-27 16:57:18 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-25 11:03:45 +0100 |
| commit | a125eb8bec000ed4252be4f7ede74508b3f3ca9e (patch) | |
| tree | f950bc7ad687f1b885f63fb77404ed5e67b4eaf2 /tools | |
| parent | 7f0fb06c9626e4a8607577d71e95f3d6f2bde44d (diff) | |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
