Remove dead code. (This loop counted the number of rules, but the count

was never used.)

Reported by:	pjd
Approved by:	rwatson
This commit is contained in:
cperciva 2004-05-15 20:55:19 +00:00
parent 3dceafd0ad
commit be93053d2f

View File

@ -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);