diff options
author | adrian <adrian@FreeBSD.org> | 2012-03-13 06:50:56 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-03-13 06:50:56 +0000 |
commit | 96d217f5d839cc75f7d19ab0f7b102d365bbe9f7 (patch) | |
tree | 19254237de42c0d196284bc090e7d7f981ac211f /sys | |
parent | a97eb5970d0b089d451f035b04c5ac27e84607c8 (diff) | |
download | FreeBSD-src-96d217f5d839cc75f7d19ab0f7b102d365bbe9f7.zip FreeBSD-src-96d217f5d839cc75f7d19ab0f7b102d365bbe9f7.tar.gz |
Remove a now unneeded ARGE_UNLOCK().
Whilst I'm here, remove a couple blank lines.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/mips/atheros/if_arge.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/mips/atheros/if_arge.c b/sys/mips/atheros/if_arge.c index 09e9ae4..407da14 100644 --- a/sys/mips/atheros/if_arge.c +++ b/sys/mips/atheros/if_arge.c @@ -703,7 +703,6 @@ arge_update_link_locked(struct arge_softc *sc) ifp = sc->arge_ifp; if (mii == NULL || ifp == NULL || (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { - ARGE_UNLOCK(sc); return; } @@ -719,7 +718,6 @@ arge_update_link_locked(struct arge_softc *sc) } else { sc->arge_link_status = 0; } - } static void @@ -859,7 +857,6 @@ arge_init_locked(struct arge_softc *sc) arge_reset_dma(sc); - if (sc->arge_miibus) { mii = device_get_softc(sc->arge_miibus); mii_mediachg(mii); |