diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-09-12 13:52:39 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-09-19 14:26:14 +0200 |
| commit | 86c5aba210b145d7de011a5abaf9b785aa70a183 (patch) | |
| tree | ba5bf718f3aa10e75cce75af32439d567e9be791 /include/linux/proc_ns.h | |
| parent | 09337e064cbb692d5e0e34d7e1e2f2c53166f91a (diff) | |
ns: remove ns_alloc_inum()
It's now unused.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/proc_ns.h')
| -rw-r--r-- | include/linux/proc_ns.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/proc_ns.h b/include/linux/proc_ns.h index dbb119bda097..e50d312f9fee 100644 --- a/include/linux/proc_ns.h +++ b/include/linux/proc_ns.h @@ -66,12 +66,6 @@ static inline void proc_free_inum(unsigned int inum) {} #endif /* CONFIG_PROC_FS */ -static inline int ns_alloc_inum(struct ns_common *ns) -{ - WRITE_ONCE(ns->stashed, NULL); - return proc_alloc_inum(&ns->inum); -} - static inline int ns_common_init(struct ns_common *ns, const struct proc_ns_operations *ops, bool alloc_inum) |
