Randy Dunlap 15b29ac9b8 ia64: salinfo: placate defined-but-not-used warning
[ Upstream commit 0de155752b152d6bcd96b5b5bf20af336abd183a ]

When CONFIG_PROC_FS is not set, proc_salinfo_show() is not used.  Mark the
function as __maybe_unused to quieten the warning message.

../arch/ia64/kernel/salinfo.c:584:12: warning: 'proc_salinfo_show' defined but not used [-Wunused-function]
  584 | static int proc_salinfo_show(struct seq_file *m, void *v)
      |            ^~~~~~~~~~~~~~~~~

Link: https://lkml.kernel.org/r/20230223034309.13375-1-rdunlap@infradead.org
Fixes: 3f3942aca6da ("proc: introduce proc_create_single{,_data}")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:28 +09:00
..
2021-09-03 09:58:09 -07:00
2021-02-25 10:17:31 -08:00
2021-04-30 11:20:35 -07:00
2021-04-30 11:20:34 -07:00
2021-04-30 11:20:35 -07:00
2020-09-11 09:34:32 -07:00
2021-12-13 12:04:45 -06:00
2021-04-30 11:20:35 -07:00
2022-04-28 23:17:25 -07:00
2022-06-03 06:52:58 -07:00
2021-02-20 19:09:26 -08:00
2022-04-28 23:17:25 -07:00
2022-02-25 09:36:06 +01:00