mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] audit: remove duplicate export of audit_enabled
@ 2013-04-12  9:34 Gao feng
  2013-04-12  9:34 ` [PATCH 2/2] audit: remove unnecessary #if CONFIG_AUDIT Gao feng
  0 siblings, 1 reply; 3+ messages in thread
From: Gao feng @ 2013-04-12  9:34 UTC (permalink / raw)
  To: viro, eparis; +Cc: linux-kernel, linux-audit, akpm, Gao feng

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>
---
 kernel/audit.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/audit.h b/kernel/audit.h
index d51cba8..d06ffc1 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
 
-- 
1.8.1.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-15 21:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-12  9:34 [PATCH 1/2] audit: remove duplicate export of audit_enabled Gao feng
2013-04-12  9:34 ` [PATCH 2/2] audit: remove unnecessary #if CONFIG_AUDIT Gao feng
2013-04-15 21:02   ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®