diff options
| author | YueHaibing <[email protected]> | 2021-08-04 13:01:05 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2021-08-27 14:42:44 +0000 |
| commit | bc17bed5fd73ef1a9aed39f3b0ea26936dad60b8 (patch) | |
| tree | 81a14ab90807ca4853a4409e64912e751c2a298c /fs/xfs/libxfs/xfs_alloc.c | |
| parent | printk: Move the printk() kerneldoc comment to its new home (diff) | |
| download | kernel-bc17bed5fd73ef1a9aed39f3b0ea26936dad60b8.tar.gz kernel-bc17bed5fd73ef1a9aed39f3b0ea26936dad60b8.zip | |
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 <[email protected]>
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.c')
0 files changed, 0 insertions, 0 deletions
