From: Yue Haibing Date: Sat, 3 Aug 2024 11:50:00 +0000 (+0800) Subject: fs: mounts: Remove unused declaration mnt_cursor_del() X-Git-Tag: v6.12-rc1~215^2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e91f69afa7eb4e0bbff2254bb4cc8f97b76c009;p=thirdparty%2Fkernel%2Flinux.git fs: mounts: Remove unused declaration mnt_cursor_del() Commit 2eea9ce4310d ("mounts: keep list of mounts in an rbtree") removed the implementation but leave declaration. Signed-off-by: Yue Haibing Link: https://lore.kernel.org/r/20240803115000.589872-1-yuehaibing@huawei.com Signed-off-by: Christian Brauner --- diff --git a/fs/mount.h b/fs/mount.h index ad4b1ddebb543..0a78f85cf7370 100644 --- a/fs/mount.h +++ b/fs/mount.h @@ -153,5 +153,4 @@ static inline void move_from_ns(struct mount *mnt, struct list_head *dt_list) list_add_tail(&mnt->mnt_list, dt_list); } -extern void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor); bool has_locked_children(struct mount *mnt, struct dentry *dentry);