]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
audit: remove duplicate export of audit_enabled
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 29 Apr 2013 22:05:15 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2013 22:54:26 +0000 (15:54 -0700)
audit_enabled has already been exported in include/linux/audit.h.  and
kernel/audit.h includes include/linux/audit.h, no need to export
aduit_enabled again in kernel/audit.h

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/audit.h

index d51cba868e1b50fa14877dc4eefdf6be0f3fc1ba..d06ffc144f8183731524c1f7ccce3ed896062d5c 100644 (file)
@@ -60,7 +60,6 @@ struct audit_entry {
 };
 
 #ifdef CONFIG_AUDIT
-extern int audit_enabled;
 extern int audit_ever_enabled;
 #endif