[-next] kernel: pid_namespace: Remove unused set_memfd_noexec_scope()
Commit Message
This inline function is unused, remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
kernel/pid_sysctl.h | 1 -
1 file changed, 1 deletion(-)
@@ -52,7 +52,6 @@ static inline void register_pid_ns_sysctl_table_vm(void)
}
#else
static inline void initialize_memfd_noexec_scope(struct pid_namespace *ns) {}
-static inline void set_memfd_noexec_scope(struct pid_namespace *ns) {}
static inline void register_pid_ns_sysctl_table_vm(void) {}
#endif