]> git.karo-electronics.de Git - karo-tx-linux.git/commit
audit: remove unnecessary #if CONFIG_AUDIT
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 29 Apr 2013 22:05:16 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2013 22:54:26 +0000 (15:54 -0700)
commitdde5b7d6e7be308ce371baa96058c2d40df26c05
treeb10201805803cd062de298bb604151cedbfbd273
parent374c586d95f288296e1e718533401d8ce0eecee3
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 <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