diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-01 04:43:32 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-01 23:19:16 -0400 |
commit | 627bf81ac625f05060db033a0f3791521ad7bd79 (patch) | |
tree | 5c88cb13dae2529cf4c778416c88b6c13cd4f38f /fs/cachefiles/bind.c | |
parent | 05faf3169f039cb03ebabdfee6eda0e7ada5ea11 (diff) |
get rid of pointless checks for NULL ->i_op
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cachefiles/bind.c')
-rw-r--r-- | fs/cachefiles/bind.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cachefiles/bind.c b/fs/cachefiles/bind.c index 622f4696e484..5b99bafc31d1 100644 --- a/fs/cachefiles/bind.c +++ b/fs/cachefiles/bind.c | |||
@@ -124,7 +124,6 @@ static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache) | |||
124 | /* check parameters */ | 124 | /* check parameters */ |
125 | ret = -EOPNOTSUPP; | 125 | ret = -EOPNOTSUPP; |
126 | if (!root->d_inode || | 126 | if (!root->d_inode || |
127 | !root->d_inode->i_op || | ||
128 | !root->d_inode->i_op->lookup || | 127 | !root->d_inode->i_op->lookup || |
129 | !root->d_inode->i_op->mkdir || | 128 | !root->d_inode->i_op->mkdir || |
130 | !root->d_inode->i_op->setxattr || | 129 | !root->d_inode->i_op->setxattr || |