summaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima.h
diff options
context:
space:
mode:
authorDmitry Kasatkin2014-09-03 09:19:58 +0200
committerMimi Zohar2014-09-09 16:28:50 +0200
commite4a9c5196566bd47ac92f6e5ef7f48412ded7176 (patch)
tree14799b5e90f93dd667db46fd56960a47ad066985 /security/integrity/ima/ima.h
parentima: remove unnecessary extra variable (diff)
downloadkernel-qcow2-linux-e4a9c5196566bd47ac92f6e5ef7f48412ded7176.tar.gz
kernel-qcow2-linux-e4a9c5196566bd47ac92f6e5ef7f48412ded7176.tar.xz
kernel-qcow2-linux-e4a9c5196566bd47ac92f6e5ef7f48412ded7176.zip
ima: add missing '__init' keywords
Add missing keywords to the function definition to cleanup to discard initialization code. Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com> Reviewed-by: Roberto Sassu <roberto.sassu@polito.it> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima.h')
-rw-r--r--security/integrity/ima/ima.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h
index c6990a723f73..8e4bb883fc13 100644
--- a/security/integrity/ima/ima.h
+++ b/security/integrity/ima/ima.h
@@ -107,8 +107,6 @@ void ima_print_digest(struct seq_file *m, u8 *digest, int size);
struct ima_template_desc *ima_template_desc_current(void);
int ima_init_template(void);
-int ima_init_template(void);
-
/*
* used to protect h_table and sha_table
*/