diff options
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | 2014-08-15 07:09:19 -0400 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2014-09-02 17:03:37 -0400 |
commit | e7d021e28328e0cc47b21cb9c6d8885326b0c2f5 (patch) | |
tree | 65b82b9bbddbb7471bba7302a7a59ad94ff17577 /security/integrity | |
parent | 27cd1fc3ae5374a4a86662c67033f15ef27b2461 (diff) |
evm: fix checkpatch warnings
This patch fixes checkpatch 'return' warnings introduced with commit
9819cf2 "checkpatch: warn on unnecessary void function return statements".
Use scripts/checkpatch.pl --file security/integrity/evm/evm_main.c
to produce the warnings.
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity')
-rw-r--r-- | security/integrity/evm/evm_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/security/integrity/evm/evm_main.c b/security/integrity/evm/evm_main.c index 3bcb80df4d01..fb71f55295dc 100644 --- a/security/integrity/evm/evm_main.c +++ b/security/integrity/evm/evm_main.c | |||
@@ -352,7 +352,6 @@ void evm_inode_post_setxattr(struct dentry *dentry, const char *xattr_name, | |||
352 | return; | 352 | return; |
353 | 353 | ||
354 | evm_update_evmxattr(dentry, xattr_name, xattr_value, xattr_value_len); | 354 | evm_update_evmxattr(dentry, xattr_name, xattr_value, xattr_value_len); |
355 | return; | ||
356 | } | 355 | } |
357 | 356 | ||
358 | /** | 357 | /** |
@@ -372,7 +371,6 @@ void evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name) | |||
372 | mutex_lock(&inode->i_mutex); | 371 | mutex_lock(&inode->i_mutex); |
373 | evm_update_evmxattr(dentry, xattr_name, NULL, 0); | 372 | evm_update_evmxattr(dentry, xattr_name, NULL, 0); |
374 | mutex_unlock(&inode->i_mutex); | 373 | mutex_unlock(&inode->i_mutex); |
375 | return; | ||
376 | } | 374 | } |
377 | 375 | ||
378 | /** | 376 | /** |
@@ -414,7 +412,6 @@ void evm_inode_post_setattr(struct dentry *dentry, int ia_valid) | |||
414 | 412 | ||
415 | if (ia_valid & (ATTR_MODE | ATTR_UID | ATTR_GID)) | 413 | if (ia_valid & (ATTR_MODE | ATTR_UID | ATTR_GID)) |
416 | evm_update_evmxattr(dentry, NULL, NULL, 0); | 414 | evm_update_evmxattr(dentry, NULL, NULL, 0); |
417 | return; | ||
418 | } | 415 | } |
419 | 416 | ||
420 | /* | 417 | /* |