commit | 1775cb87b063cd60a5021c38412f6024f93cc376 | [log] [tgz] |
---|---|---|
author | Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> | Wed Mar 14 17:20:18 2018 -0300 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Sun Mar 25 07:26:29 2018 -0400 |
tree | 1b9c4845a2cecb6c4dad6cdacb3b32b1f6ba347c | |
parent | 11c60f23ed1367298207efb3bbf985203a95f480 [diff] |
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>