All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Haitao <penght@cn.fujitsu.com>
To: Steve Grubb <sgrubb@redhat.com>
Cc: audit-list <linux-audit@redhat.com>
Subject: [PATCH] remove redundant code
Date: Thu, 04 Sep 2008 10:47:58 +0800	[thread overview]
Message-ID: <48BF4C5E.9060705@cn.fujitsu.com> (raw)

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

             reply	other threads:[~2008-09-04  2:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04  2:47 Peng Haitao [this message]
2008-09-04 13:02 ` [PATCH] remove redundant code Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48BF4C5E.9060705@cn.fujitsu.com \
    --to=penght@cn.fujitsu.com \
    --cc=linux-audit@redhat.com \
    --cc=sgrubb@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.