diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2004-05-15 20:55:19 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2004-05-15 20:55:19 +0000 |
| commit | 2b8b4f37bea962a1206bc13a7baf3dfc03182742 (patch) | |
| tree | 39d5a4b73c945a1d383341b9e33f21b1970b776c /sys/security/mac_portacl | |
| parent | 8ebcdbf70721ac46bf37ed225e4e97fecc050aed (diff) | |
Notes
Diffstat (limited to 'sys/security/mac_portacl')
| -rw-r--r-- | sys/security/mac_portacl/mac_portacl.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/security/mac_portacl/mac_portacl.c b/sys/security/mac_portacl/mac_portacl.c index 4b671c605805..7524155d48a8 100644 --- a/sys/security/mac_portacl/mac_portacl.c +++ b/sys/security/mac_portacl/mac_portacl.c @@ -142,13 +142,6 @@ static void toast_rules(struct rulehead *head) { struct rule *rule; - int i; - - i = 0; - for (rule = TAILQ_FIRST(head); - rule != NULL; - rule = TAILQ_NEXT(rule, r_entries)) - i++; while ((rule = TAILQ_FIRST(head)) != NULL) { TAILQ_REMOVE(head, rule, r_entries); |
