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:
parent
b08b3ca18f
commit
74727f1209
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user