summaryrefslogtreecommitdiffstats
path: root/kernel/audit.h
diff options
context:
space:
mode:
authorGao feng <gaofeng@cn.fujitsu.com>2013-04-30 00:05:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 00:54:26 +0200
commit374c586d95f288296e1e718533401d8ce0eecee3 (patch)
tree35ec4a1923be92aaea3096da257396457d536b19 /kernel/audit.h
parentaudit: don't check if kauditd is valid every time (diff)
downloadlinux-374c586d95f288296e1e718533401d8ce0eecee3.tar.xz
linux-374c586d95f288296e1e718533401d8ce0eecee3.zip
audit: remove duplicate export of audit_enabled
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>
Diffstat (limited to 'kernel/audit.h')
-rw-r--r--kernel/audit.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/audit.h b/kernel/audit.h
index d51cba868e1b..d06ffc144f81 100644
--- a/kernel/audit.h
+++ b/kernel/audit.h
@@ -60,7 +60,6 @@ struct audit_entry {
};
#ifdef CONFIG_AUDIT
-extern int audit_enabled;
extern int audit_ever_enabled;
#endif