Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ns: remove ns_alloc_inum()

It's now unused.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>

-6
-6
include/linux/proc_ns.h
··· 66 66 67 67 #endif /* CONFIG_PROC_FS */ 68 68 69 - static inline int ns_alloc_inum(struct ns_common *ns) 70 - { 71 - WRITE_ONCE(ns->stashed, NULL); 72 - return proc_alloc_inum(&ns->inum); 73 - } 74 - 75 69 static inline int ns_common_init(struct ns_common *ns, 76 70 const struct proc_ns_operations *ops, 77 71 bool alloc_inum)