summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2007-01-01 01:40:29 +0000
committercsjp <csjp@FreeBSD.org>2007-01-01 01:40:29 +0000
commitdac8fa36f8f5b21133fce1ede283c7c26ac64070 (patch)
tree3a3e75a1f3a2ce94ab5d29c30a4c1bf6fadba009 /sys/security
parent4f5a74c4f1d53e4cb345a7f0bb23cae452e554cc (diff)
downloadFreeBSD-src-dac8fa36f8f5b21133fce1ede283c7c26ac64070.zip
FreeBSD-src-dac8fa36f8f5b21133fce1ede283c7c26ac64070.tar.gz
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
Diffstat (limited to 'sys/security')
-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 14a7807..d54316e 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
}
OpenPOWER on IntegriCloud