diff options
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r-- | sys/dev/pcmcia/if_ep_pcmcia.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/if_ep_pcmcia.c b/sys/dev/pcmcia/if_ep_pcmcia.c index f3e5b1ef577..6a84b4c3893 100644 --- a/sys/dev/pcmcia/if_ep_pcmcia.c +++ b/sys/dev/pcmcia/if_ep_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ep_pcmcia.c,v 1.24 2000/05/29 18:04:07 aaron Exp $ */ +/* $OpenBSD: if_ep_pcmcia.c,v 1.25 2000/06/28 18:03:37 millert Exp $ */ /* $NetBSD: if_ep_pcmcia.c,v 1.16 1998/08/17 23:20:40 thorpej Exp $ */ /*- @@ -394,7 +394,6 @@ ep_pcmcia_detach(dev, flags) struct ep_pcmcia_softc *psc = (struct ep_pcmcia_softc *)dev; struct ep_softc *sc = &psc->sc_ep; struct ifnet *ifp = &sc->sc_arpcom.ac_if; - int rv = 0; pcmcia_io_unmap(psc->sc_pf, psc->sc_io_window); pcmcia_io_free(psc->sc_pf, &psc->sc_pcioh); @@ -402,7 +401,7 @@ ep_pcmcia_detach(dev, flags) ether_ifdetach(ifp); if_detach(ifp); - return (rv); + return (0); } int |