diff options
author | Manfred Spraul <manfred@colorfullife.com> | 2021-11-09 03:36:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-09 19:02:53 +0100 |
commit | 0e9beb8a96f21a6df1579cb3a679e150e3269d80 (patch) | |
tree | ab90fc49f3c47788647c39046cb2fb0cf03d54bb /fs/ramfs/inode.c | |
parent | ipc: check checkpoint_restore_ns_capable() to modify C/R proc files (diff) | |
download | linux-0e9beb8a96f21a6df1579cb3a679e150e3269d80.tar.xz linux-0e9beb8a96f21a6df1579cb3a679e150e3269d80.zip |
ipc/ipc_sysctl.c: remove fallback for !CONFIG_PROC_SYSCTL
Compilation of ipc/ipc_sysctl.c is controlled by
obj-$(CONFIG_SYSVIPC_SYSCTL)
[see ipc/Makefile]
And CONFIG_SYSVIPC_SYSCTL depends on SYSCTL
[see init/Kconfig]
An SYSCTL is selected by PROC_SYSCTL.
[see fs/proc/Kconfig]
Thus: #ifndef CONFIG_PROC_SYSCTL in ipc/ipc_sysctl.c is impossible, the
fallback can be removed.
Link: https://lkml.kernel.org/r/20210918145337.3369-1-manfred@colorfullife.com
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ramfs/inode.c')
0 files changed, 0 insertions, 0 deletions