]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
VFS: fix unused variable warning
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 May 2008 20:13:37 +0000 (13:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 May 2008 20:13:37 +0000 (13:13 -0700)
Commit 33dcdac2df54e66c447ae03f58c95c7251aa5649 ("kill ->put_inode")
removed the final use of i_op->put_inode, but left the now totally
unused "op" variable in iput().

Get rid of it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/inode.c

index 18bdce14b70c2b9fd037ae2d8f6c25cedf4e0371..c36d9480335c6fc8a099aa1551910b0ce55a539f 100644 (file)
@@ -1149,8 +1149,6 @@ static inline void iput_final(struct inode *inode)
 void iput(struct inode *inode)
 {
        if (inode) {
-               const struct super_operations *op = inode->i_sb->s_op;
-
                BUG_ON(inode->i_state == I_CLEAR);
 
                if (atomic_dec_and_lock(&inode->i_count, &inode_lock))