From: Gao feng Date: Mon, 29 Apr 2013 22:05:16 +0000 (-0700) Subject: audit: remove unnecessary #if CONFIG_AUDIT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dde5b7d6e7be308ce371baa96058c2d40df26c05;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git audit: remove unnecessary #if CONFIG_AUDIT The files which include kernel/audit.h are complied only when CONFIG_AUDIT is set. Just like audit_pid, there is no need to surround audit_ever_enabled with CONFIG_AUDIT. Signed-off-by: Gao feng Cc: Al Viro Cc: Eric Paris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/audit.h b/kernel/audit.h index d06ffc144f81..11468d99dad0 100644 --- a/kernel/audit.h +++ b/kernel/audit.h @@ -59,9 +59,7 @@ struct audit_entry { struct audit_krule rule; }; -#ifdef CONFIG_AUDIT extern int audit_ever_enabled; -#endif extern int audit_pid;