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

index 32faef52a7982bbb9daa0af68411cbf55b065adc..99660348eb3aa7bcc82eeb190bbddaf9f2f797f4 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);