summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2013-02-17 11:57:47 +0000
committerpjd <pjd@FreeBSD.org>2013-02-17 11:57:47 +0000
commitc74931bdaf68cbffbc38b8579a9800f04d5770d9 (patch)
tree2a5eb7c5d9f7fc0314b484775b04c368ead5a2bd /sys/security
parentfdfa7cdb9e5dc7dc0c45058f6fd1c69cbcf26176 (diff)
downloadFreeBSD-src-c74931bdaf68cbffbc38b8579a9800f04d5770d9.zip
FreeBSD-src-c74931bdaf68cbffbc38b8579a9800f04d5770d9.tar.gz
Remove redundant check.
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/audit/audit_bsm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c
index b02d677..8881cea 100644
--- a/sys/security/audit/audit_bsm.c
+++ b/sys/security/audit/audit_bsm.c
@@ -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); \
OpenPOWER on IntegriCloud