Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2013 11:57:47 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r246911 - head/sys/security/audit
Message-ID:  <201302171157.r1HBvlbu007507@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Sun Feb 17 11:57:47 2013
New Revision: 246911
URL: http://svnweb.freebsd.org/changeset/base/246911

Log:
  Remove redundant check.

Modified:
  head/sys/security/audit/audit_bsm.c

Modified: head/sys/security/audit/audit_bsm.c
==============================================================================
--- head/sys/security/audit/audit_bsm.c	Sun Feb 17 11:56:36 2013	(r246910)
+++ head/sys/security/audit/audit_bsm.c	Sun Feb 17 11:57:47 2013	(r246911)
@@ -223,9 +223,7 @@ kau_free(struct au_record *rec)
 } while (0)
 
 #define	UPATH1_VNODE1_TOKENS do {					\
-	if (ARG_IS_VALID(kar, ARG_UPATH1)) {				\
-		UPATH1_TOKENS;						\
-	}								\
+	UPATH1_TOKENS;							\
 	if (ARG_IS_VALID(kar, ARG_VNODE1)) {				\
 		tok = au_to_attr32(&ar->ar_arg_vnode1);			\
 		kau_write(rec, tok);					\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302171157.r1HBvlbu007507>