summary refs log tree commit diff
path: root/fs/ceph
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-05-12 14:14:51 -0700
committerSage Weil <sage@newdream.net>2011-05-19 11:24:17 -0700
commit1b36698577c1008dc1e63f0bf4b6f3d9deada94a (patch)
tree167c49960e2f872592b20ea5db1c297f7b381d77 /fs/ceph
parent0da5d70369e87f80adf794080cfff1ca15a34198 (diff)
downloadlinux-1b36698577c1008dc1e63f0bf4b6f3d9deada94a.tar.gz
libceph: remove unused variable
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/mds_client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index ebce88ab3982..c12d2e9a0ec6 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);