From: YueHaibing <yuehaibing@xxxxxxxxxx> Since commit 668d0cd56ef7 ("replace d_add_unique() with saner primitive") this is not used anymore. Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> --- include/linux/dcache.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 6b351e009f59..612fb55623a0 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -220,7 +220,6 @@ extern seqlock_t rename_lock; */ extern void d_instantiate(struct dentry *, struct inode *); extern void d_instantiate_new(struct dentry *, struct inode *); -extern struct dentry * d_instantiate_unique(struct dentry *, struct inode *); extern struct dentry * d_instantiate_anon(struct dentry *, struct inode *); extern void __d_drop(struct dentry *dentry); extern void d_drop(struct dentry *dentry); -- 2.34.1