mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
get rid of pointless checks for NULL ->i_op
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -62,7 +62,7 @@ static int evm_find_protected_xattrs(struct dentry *dentry)
|
||||
int error;
|
||||
int count = 0;
|
||||
|
||||
if (!inode->i_op || !inode->i_op->getxattr)
|
||||
if (!inode->i_op->getxattr)
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
for (xattr = evm_config_xattrnames; *xattr != NULL; xattr++) {
|
||||
|
||||
Reference in New Issue
Block a user