[-next] dcache: Remove unused extern declaration d_instantiate_unique()

Message ID 20230802132632.22668-1-yuehaibing@huawei.com
State New
Headers
Series [-next] dcache: Remove unused extern declaration d_instantiate_unique() |

Commit Message

Yue Haibing Aug. 2, 2023, 1:26 p.m. UTC
  From: YueHaibing <yuehaibing@huawei.com>

Since commit 668d0cd56ef7 ("replace d_add_unique() with saner primitive")
this is not used anymore.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 include/linux/dcache.h | 1 -
 1 file changed, 1 deletion(-)
  

Patch

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);