diff options
author | antoine <antoine@FreeBSD.org> | 2008-02-15 21:54:21 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2008-02-15 21:54:21 +0000 |
commit | ab8945769a2717f319e7b1639ed46ef74d535d95 (patch) | |
tree | f49b2bf6782b941a8fe3485fb53160434de4e36a /sys | |
parent | 719cf15a1bc65c2d6eb6995fa04bda85088d3c05 (diff) | |
download | FreeBSD-src-ab8945769a2717f319e7b1639ed46ef74d535d95.zip FreeBSD-src-ab8945769a2717f319e7b1639ed46ef74d535d95.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_autoconf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index 067e155..8f8a72f 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); |