summaryrefslogtreecommitdiffstats
path: root/kernel/crash_dump.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-08-04 21:01:05 +0800
committerPetr Mladek <pmladek@suse.com>2021-08-27 16:42:44 +0200
commitbc17bed5fd73ef1a9aed39f3b0ea26936dad60b8 (patch)
tree81a14ab90807ca4853a4409e64912e751c2a298c /kernel/crash_dump.c
parent7d9e2661f268585ca24ab4edbc1e2925b08374b2 (diff)
downloadlinux-bc17bed5fd73ef1a9aed39f3b0ea26936dad60b8.tar.bz2
printk/index: Fix -Wunused-function warning
If CONFIG_MODULES is n, we got this: kernel/printk/index.c:146:13: warning: ‘pi_remove_file’ defined but not used [-Wunused-function] Move it inside #ifdef block to fix this warning. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20210804130105.18732-1-yuehaibing@huawei.com
Diffstat (limited to 'kernel/crash_dump.c')
0 files changed, 0 insertions, 0 deletions