module: fix warning of unused function when !CONFIG_PROC_FS
authorJianjun Kong <jianjun@zeuux.org>
Mon, 8 Dec 2008 06:26:29 +0000 (14:26 +0800)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 4 Jan 2009 22:10:11 +0000 (08:40 +1030)
commitd1e99d7ae4e6bbd1ebb5e81ecd3af2b8793efee0
tree15254031f4f91656f55876f52d037b7c3525c4db
parentca4787b779dd698a2a33a328aa5fa90a3e954077
module: fix warning of unused function when !CONFIG_PROC_FS

Fix this warning:
kernel/module.c:824: warning: ‘print_unload_info’ defined but not used
print_unload_info() just was used when CONFIG_PROC_FS was defined.
This patch mark print_unload_info() inline to solve the problem.

Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
CC: Ingo Molnar <mingo@elte.hu>
CC: Américo Wang <xiyou.wangcong@gmail.com>
kernel/module.c