[PATCH] remove redundant code

Peng Haitao penght at cn.fujitsu.com
Thu Sep 4 02:47:58 UTC 2008


Hello steve,

AUDIT_LAST_EVENT is defined two times in libaudit.h, so the redundant code should be removed.

Signed-off-by: Peng Haitao <penght at cn.fujitsu.com>

---
 lib/libaudit.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/libaudit.h b/lib/libaudit.h
index 9c274d8..bf9e22d 100644
--- a/lib/libaudit.h
+++ b/lib/libaudit.h
@@ -115,7 +115,6 @@ extern "C" {
 #ifndef AUDIT_EOE
 #define AUDIT_EOE		1320	/* End of event */
 #endif
-#define AUDIT_LAST_EVENT	1399
 
 #define AUDIT_FIRST_SELINUX	1400
 #define AUDIT_LAST_SELINUX	1499
-- 
1.5.3


-- 
Regards
Peng Haitao




More information about the Linux-audit mailing list