mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00: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:
parent
05faf3169f
commit
627bf81ac6
5 changed files with 5 additions and 7 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue