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

index 8549996262f5ebaa21bb8b68c14b5c37382b6d9b..624f3a7bf32da49b7881634a52c1a20b0bebd584 100644 (file)
@@ -99,7 +99,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))
@@ -125,8 +124,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);