summaryrefslogtreecommitdiff
path: root/security/integrity/ima/ima_main.c
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>2012-06-25 13:18:10 +0400
committerMimi Zohar <zohar@linux.vnet.ibm.com>2012-07-03 00:43:30 +0400
commitc7de7adc18241a0eb10a6e1fed7cb1e01f53c85a (patch)
tree2b79a44399e29c7d20397ec5188b42528f8c90d5 /security/integrity/ima/ima_main.c
parent0ea4f8ae416a9e8d15f4e20680879358f620e8b8 (diff)
downloadlinux-c7de7adc18241a0eb10a6e1fed7cb1e01f53c85a.tar.xz
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_main.c')
-rw-r--r--security/integrity/ima/ima_main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c
index a0e631a19058..5b0548d75561 100644
--- a/security/integrity/ima/ima_main.c
+++ b/security/integrity/ima/ima_main.c
@@ -262,11 +262,6 @@ static int __init init_ima(void)
return error;
}
-static void __exit cleanup_ima(void)
-{
- ima_cleanup();
-}
-
late_initcall(init_ima); /* Start IMA after the TPM is available */
MODULE_DESCRIPTION("Integrity Measurement Architecture");