wrapfs: remove unused variable
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 14 Dec 2019 04:21:23 +0000 (23:21 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 14 Dec 2019 04:21:23 +0000 (23:21 -0500)
fs/wrapfs/lookup.c

index a771fef4a20ab2fe8b56616a804e3ef87105f1bc..3096b0e83396b3e0bdb154c36a99fdd90248bbb9 100644 (file)
@@ -71,7 +71,6 @@ static int wrapfs_inode_set(struct inode *inode, void *lower_inode)
 
 struct inode *wrapfs_iget(struct super_block *sb, struct inode *lower_inode)
 {
-       struct wrapfs_inode_info *info;
        struct inode *inode; /* the new inode to return */
 
        if (!igrab(lower_inode))
@@ -97,8 +96,6 @@ struct inode *wrapfs_iget(struct super_block *sb, struct inode *lower_inode)
        }
 
        /* initialize new inode */
-       info = WRAPFS_I(inode);
-
        inode->i_ino = lower_inode->i_ino;
        wrapfs_set_lower_inode(inode, lower_inode);