summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-06-28 18:03:38 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-06-28 18:03:38 +0000
commit893c24bc2624c0759f5b84432fff1c18036b587d (patch)
treead961614b685f21d93bdeffed5604fd0e3b27569
parent936fdbed9f068647891331d9aa6e8b5a3438a274 (diff)
Remove pointless variable. It is set to 0, then returned without modification.
-rw-r--r--sys/dev/pcmcia/if_ep_pcmcia.c5
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