From 74727f1209afb71bd108b4d91503d8da0717861c Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 15 Feb 2008 21:54:21 +0000 Subject: [PATCH] Remove a superfluous line in run_interrupt_driven_config_hooks(), next_entry is already initialized during TAILQ_FOREACH_SAFE(). PR: kern/119604 Approved by: rwatson (mentor) MFC after: 1 month --- sys/kern/subr_autoconf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index 067e15566ddf..8f8a72f2342f 100644 --- a/sys/kern/subr_autoconf.c +++ b/sys/kern/subr_autoconf.c @@ -67,7 +67,6 @@ run_interrupt_driven_config_hooks(dummy) mtx_lock(&intr_config_hook_lock); TAILQ_FOREACH_SAFE(hook_entry, &intr_config_hook_list, ich_links, next_entry) { - next_entry = TAILQ_NEXT(hook_entry, ich_links); mtx_unlock(&intr_config_hook_lock); (*hook_entry->ich_func)(hook_entry->ich_arg); mtx_lock(&intr_config_hook_lock);