public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* [PATCH] remove redundant code
@ 2008-09-04  2:47 Peng Haitao
  2008-09-04 13:02 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Haitao @ 2008-09-04  2:47 UTC (permalink / raw)
  To: Steve Grubb; +Cc: audit-list

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@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

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

end of thread, other threads:[~2008-09-04 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04  2:47 [PATCH] remove redundant code Peng Haitao
2008-09-04 13:02 ` Steve Grubb

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