[2.6 patch] #if 0 v9fs_fid_lookup_remove()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Adrian Bunk <[email protected]>

---

 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  */
 
 
 /**

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux