aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorChristian S.J. Peron <csjp@FreeBSD.org>2007-01-01 01:40:29 +0000
committerChristian S.J. Peron <csjp@FreeBSD.org>2007-01-01 01:40:29 +0000
commit22a0de89ff8dd2795155d255bf026e22f6e0442c (patch)
tree3a3e75a1f3a2ce94ab5d29c30a4c1bf6fadba009 /sys
parente79c6a301d47c2d9d5a565a3b2762d1b1de819ca (diff)
downloadsrc-22a0de89ff8dd2795155d255bf026e22f6e0442c.tar.gz
src-22a0de89ff8dd2795155d255bf026e22f6e0442c.zip
Remove conditional return of 1. For the MAC_STATIC case at this point in
the code, one being returned is invariant. Discussed with: rwatson MFC after: 1 week
Notes
Notes: svn path=/head/; revision=165714
Diffstat (limited to 'sys')
-rw-r--r--sys/security/mac/mac_framework.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c
index 14a78073a28a..d54316ecb674 100644
--- a/sys/security/mac/mac_framework.c
+++ b/sys/security/mac/mac_framework.c
@@ -282,9 +282,6 @@ mac_policy_list_conditional_busy(void)
mtx_unlock(&mac_policy_mtx);
return (ret);
#else
- if (!mac_late)
- return (1);
-
return (1);
#endif
}