diff options
author | gpalmer <gpalmer@FreeBSD.org> | 1996-06-12 05:11:41 +0000 |
---|---|---|
committer | gpalmer <gpalmer@FreeBSD.org> | 1996-06-12 05:11:41 +0000 |
commit | 57c3ebc617f6ed31240847c6fce74931a372824c (patch) | |
tree | c727af841ff654969571e10a8dc92e2a987cd0c2 /sys/dev/ep | |
parent | d356aa8b627cecbc5a3a5e98327366686498962d (diff) | |
download | FreeBSD-src-57c3ebc617f6ed31240847c6fce74931a372824c.zip FreeBSD-src-57c3ebc617f6ed31240847c6fce74931a372824c.tar.gz |
Clean up -Wunused warnings.
Reviewed by: bde
Diffstat (limited to 'sys/dev/ep')
-rw-r--r-- | sys/dev/ep/if_ep.c | 7 | ||||
-rw-r--r-- | sys/dev/ep/if_ep_eisa.c | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index aecba9b..a6a24df 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -38,7 +38,7 @@ */ /* - * $Id: if_ep.c,v 1.43 1996/02/28 17:19:03 gibbs Exp $ + * $Id: if_ep.c,v 1.44 1996/05/24 15:22:36 gibbs Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -196,7 +196,7 @@ static struct ep_board * ep_look_for_board_at(is) struct isa_device *is; { - int data, i, j, io_base, id_port = ELINK_ID_PORT; + int data, i, j, id_port = ELINK_ID_PORT; int count = 0; if (ep_current_tag == (EP_LAST_TAG + 1)) { @@ -364,7 +364,6 @@ ep_isa_probe(is) struct ep_softc *sc; struct ep_board *epb; u_short k; - int i; if(( epb=ep_look_for_board_at(is) )==0) return (0); @@ -573,7 +572,7 @@ epinit(sc) struct ep_softc *sc; { register struct ifnet *ifp = &sc->arpcom.ac_if; - int s, i, j; + int s, i; /* if (ifp->if_addrlist == (struct ifaddr *) 0) diff --git a/sys/dev/ep/if_ep_eisa.c b/sys/dev/ep/if_ep_eisa.c index bd1955f..43b317d 100644 --- a/sys/dev/ep/if_ep_eisa.c +++ b/sys/dev/ep/if_ep_eisa.c @@ -19,7 +19,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: 3c5x9.c,v 1.1 1996/02/26 01:01:37 gibbs Exp $ + * $Id: 3c5x9.c,v 1.2 1996/02/28 17:18:55 gibbs Exp $ */ #include "eisa.h" @@ -127,7 +127,6 @@ ep_eisa_probe(void) { u_long iobase; struct eisa_device *e_dev = NULL; - int stat = 0; int count; count = 0; @@ -204,7 +203,6 @@ ep_eisa_attach(e_dev) resvaddr_t *ioport; resvaddr_t *eisa_ioport; u_char level_intr; - u_short conf; int i; /* |