audit: remove useless code in audit_enable
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 31 Oct 2013 06:31:01 +0000 (14:31 +0800)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:28:53 +0000 (22:28 -0500)
commitd3ca0344b21f04786219bf0f49647f24e4e17323
tree45e0fea235246245c9161ef8a7da4b92ff0a9f58
parent51cc83f024ee51de9da70c17e01ec6de524f5906
audit: remove useless code in audit_enable

Since kernel parameter is operated before
initcall, so the audit_initialized must be
AUDIT_UNINITIALIZED or DISABLED in audit_enable.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c