summaryrefslogtreecommitdiff
path: root/fs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-07 15:45:59 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 01:44:21 -0400
commite7f59097071f2e193e900093742a4be85839f3d9 (patch)
tree35cc747b65d29fdc4f6dea472bf75b540da20453 /fs/inode.c
parent0ee5dc676a5f8fadede608c7281dfedb1ae714ea (diff)
kill useless checks for sb->s_op == NULL
never is... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/inode.c')
-rw-r--r--fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 43566d17d1b8..cbdcab88105f 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1331,7 +1331,7 @@ static void iput_final(struct inode *inode)
WARN_ON(inode->i_state & I_NEW);
- if (op && op->drop_inode)
+ if (op->drop_inode)
drop = op->drop_inode(inode);
else
drop = generic_drop_inode(inode);