diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-02-04 16:08:18 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-02-04 16:08:18 +0000 |
| commit | 37d400662666a604243e587c70d492fe357d150a (patch) | |
| tree | f9bc9c6c4944d30981cf39fb66f61ea34fb86795 /sys/pci/if_wb.c | |
| parent | bcf77694d13313045a6a78477507a30ebd653894 (diff) | |
Notes
Diffstat (limited to 'sys/pci/if_wb.c')
| -rw-r--r-- | sys/pci/if_wb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index 7f93cb01990a..67e0b57f77c5 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -741,8 +741,7 @@ static void wb_reset(sc) if (mii->mii_instance) { struct mii_softc *miisc; - for (miisc = LIST_FIRST(&mii->mii_phys); miisc != NULL; - miisc = LIST_NEXT(miisc, mii_list)) + LIST_FOREACH(miisc, &mii->mii_phys, mii_list) mii_phy_reset(miisc); } |
