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

index 5e117dc1046c93f10c5fb832be4550c2dad739d4..affc2a60c24c033a68816f26dc43064d3bb34391 100644 (file)
@@ -72,7 +72,6 @@ static int wrapfs_inode_set(struct inode *inode, void *lower_inode)
 static 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))
@@ -98,8 +97,6 @@ static struct inode *wrapfs_iget(struct super_block *sb,
        }
 
        /* initialize new inode */
-       info = WRAPFS_I(inode);
-
        inode->i_ino = lower_inode->i_ino;
        wrapfs_set_lower_inode(inode, lower_inode);