mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
ns: remove ns_alloc_inum()
It's now unused. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
09337e064c
commit
86c5aba210
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user