diff options
| author | Warner Losh <imp@FreeBSD.org> | 2015-03-01 21:41:33 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2015-03-01 21:41:33 +0000 |
| commit | 679f3f62a88921f231c08a8489cf2aec9168842c (patch) | |
| tree | 970734d7bab31f9b34f58d7fda1a2d5da8fdf682 /sys/dev/ed | |
| parent | 3846dae83452b2808d7c50563ce91e1be01bee6e (diff) | |
Notes
Diffstat (limited to 'sys/dev/ed')
| -rw-r--r-- | sys/dev/ed/if_ed_pccard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index 49875c6fe29bd..505aff681ac82 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -1172,8 +1172,8 @@ ed_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr) sc = ifp->if_softc; ED_LOCK(sc); if (sc->miibus == NULL) { - return; ED_UNLOCK(sc); + return; } mii = device_get_softc(sc->miibus); |
