diff options
author | Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> | 2018-03-14 23:20:18 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2018-03-25 14:26:29 +0300 |
commit | 1775cb87b063cd60a5021c38412f6024f93cc376 (patch) | |
tree | 1b9c4845a2cecb6c4dad6cdacb3b32b1f6ba347c /kernel/user.c | |
parent | 11c60f23ed1367298207efb3bbf985203a95f480 (diff) | |
download | linux-1775cb87b063cd60a5021c38412f6024f93cc376.tar.xz |
ima: Simplify ima_eventsig_init()
The "goto out" statement doesn't have any purpose since there's no cleanup
to be done when returning early, so remove it. This also makes the rc
variable unnecessary so remove it as well.
Also, the xattr_len and fmt variables are redundant so remove them as well.
Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions