]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
libceph: remove unused variable
authorSage Weil <sage@newdream.net>
Thu, 12 May 2011 21:14:51 +0000 (14:14 -0700)
committerSage Weil <sage@newdream.net>
Thu, 19 May 2011 18:24:17 +0000 (11:24 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mds_client.c

index ebce88ab3982c7ce51411bf8d20d271253cbcb54..c12d2e9a0ec67a276068b8c236d4d4c73a39f4d5 100644 (file)
@@ -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);