[2.6 patch] #if 0 v9fs_fid_lookup_remove()

Adrian Bunk
2007-07-29T15:01:26Z

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

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

fs/9p/fid.c | 2 ++
fs/9p/fid.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)

--- linux-2.6.23-rc1-mm1/fs/9p/fid.h.old 2007-07-26 13:22:00.000000000 +0200
+++ linux-2.6.23-rc1-mm1/fs/9p/fid.h 2007-07-26 13:22:07.000000000 +0200
@@ -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);
--- linux-2.6.23-rc1-mm1/fs/9p/fid.c.old 2007-07-26 13:22:22.000000000 +0200
+++ linux-2.6.23-rc1-mm1/fs/9p/fid.c 2007-07-26 13:22:40.000000000 +0200
@@ -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 */

/**