diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2012-06-25 11:18:10 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2012-07-02 22:43:30 +0200 |
commit | c7de7adc18241a0eb10a6e1fed7cb1e01f53c85a (patch) | |
tree | 2b79a44399e29c7d20397ec5188b42528f8c90d5 /security/integrity/ima/ima_fs.c | |
parent | ima: free securityfs violations file (diff) | |
download | linux-c7de7adc18241a0eb10a6e1fed7cb1e01f53c85a.tar.xz linux-c7de7adc18241a0eb10a6e1fed7cb1e01f53c85a.zip |
ima: remove unused cleanup functions
IMA cannot be used as module and does not need __exit functions.
Removed them.
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima_fs.c')
-rw-r--r-- | security/integrity/ima/ima_fs.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/security/integrity/ima/ima_fs.c b/security/integrity/ima/ima_fs.c index 3fccc065a0fb..38477c9c3415 100644 --- a/security/integrity/ima/ima_fs.c +++ b/security/integrity/ima/ima_fs.c @@ -375,13 +375,3 @@ out: securityfs_remove(ima_policy); return -1; } - -void __exit ima_fs_cleanup(void) -{ - securityfs_remove(violations); - securityfs_remove(runtime_measurements_count); - securityfs_remove(ascii_runtime_measurements); - securityfs_remove(binary_runtime_measurements); - securityfs_remove(ima_dir); - securityfs_remove(ima_policy); -} |