From: Sage Weil <sage@newdream.net>
Date: Thu, 12 May 2011 21:14:51 +0000 (-0700)
Subject: libceph: remove unused variable
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1b36698577c1008dc1e63f0bf4b6f3d9deada94a;p=linux.git

libceph: remove unused variable

Signed-off-by: Sage Weil <sage@newdream.net>
---

diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index ebce88ab3982c..c12d2e9a0ec67 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -2695,7 +2695,6 @@ static void handle_lease(struct ceph_mds_client *mdsc,
 {
 	struct super_block *sb = mdsc->fsc->sb;
 	struct inode *inode;
-	struct ceph_inode_info *ci;
 	struct dentry *parent, *dentry;
 	struct ceph_dentry_info *di;
 	int mds = session->s_mds;
@@ -2732,7 +2731,6 @@ static void handle_lease(struct ceph_mds_client *mdsc,
 		dout("handle_lease no inode %llx\n", vino.ino);
 		goto release;
 	}
-	ci = ceph_inode(inode);
 
 	/* dentry */
 	parent = d_find_alias(inode);