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
This commit is contained in:
Antoine Brodin 2008-02-15 21:54:21 +00:00
parent b08b3ca18f
commit 74727f1209

View File

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