aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity/evm/evm_secfs.c
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>2012-09-03 17:11:56 +0300
committerMimi Zohar <zohar@linux.vnet.ibm.com>2013-01-16 15:47:05 -0500
commite90805656d4683f84d360276102ae63adc777a38 (patch)
treeb252fcd8e8b1f0fde0277c24413ad21c857515c2 /security/integrity/evm/evm_secfs.c
parent7163a993840f0906d4ce1e3f193575c99dac21e1 (diff)
downloadkernel_goldelico_gta04-e90805656d4683f84d360276102ae63adc777a38.zip
kernel_goldelico_gta04-e90805656d4683f84d360276102ae63adc777a38.tar.gz
kernel_goldelico_gta04-e90805656d4683f84d360276102ae63adc777a38.tar.bz2
evm: remove unused cleanup functions
EVM cannot be built as a kernel module. Remove the unncessary __exit functions. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/evm/evm_secfs.c')
-rw-r--r--security/integrity/evm/evm_secfs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/security/integrity/evm/evm_secfs.c b/security/integrity/evm/evm_secfs.c
index ac76299..30f670a 100644
--- a/security/integrity/evm/evm_secfs.c
+++ b/security/integrity/evm/evm_secfs.c
@@ -100,9 +100,3 @@ int __init evm_init_secfs(void)
error = -EFAULT;
return error;
}
-
-void __exit evm_cleanup_secfs(void)
-{
- if (evm_init_tpm)
- securityfs_remove(evm_init_tpm);
-}