Skip to contentSkip to conversation

#if 0 v9fs_fid_lookup_remove()

PATCH New Adrian Bunk 1 participant 1 message Jul 29, 2007 9P file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 #if 0 v9fs_fid_lookup_remove()

This patch #if 0's the unused v9fs_fid_lookup_remove().

---

 fs/9p/fid.c |    2 ++
 fs/9p/fid.h |    1 -
 2 files changed, 2 insertions(+), 1 deletion(-)
fs/9p/fid.h renamed from fs/9p/fid.h.old +0 -1
@@ -28,6 +28,5 @@
 };
 
 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry);
-struct p9_fid *v9fs_fid_lookup_remove(struct dentry *dentry);
 struct p9_fid *v9fs_fid_clone(struct dentry *dentry);
 int v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid);
fs/9p/fid.c renamed from fs/9p/fid.c.old +2 -0
@@ -92,6 +92,7 @@
 	return fid;
 }
 
+#if 0
 struct p9_fid *v9fs_fid_lookup_remove(struct dentry *dentry)
 {
 	struct p9_fid *fid;
@@ -107,6 +108,7 @@
 
 	return fid;
 }
+#endif  /*  0  */
 
 
 /**