diff options
author | phk <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
commit | 4d268889365c1d9414bbca2f6c63d87db74ec37b (patch) | |
tree | 6993a0a1b7a3687b97ad7a5a073bb465e89eb411 /sys/dev/ep | |
parent | e4fdd132492fc7a4aaa448a72f13f3344f287ab1 (diff) | |
download | FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.zip FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.tar.gz |
Remove a bunch of variables which were unused both in GENERIC and LINT.
Found by: -Wunused
Diffstat (limited to 'sys/dev/ep')
-rw-r--r-- | sys/dev/ep/if_ep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index 90f1f2e..648b577 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.64 1997/10/26 21:08:40 nate Exp $ + * $Id: if_ep.c,v 1.65 1997/10/27 00:02:33 fenner Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -568,9 +568,7 @@ int ep_attach(sc) struct ep_softc *sc; { - struct ifaddr *ifa; struct ifnet *ifp = &sc->arpcom.ac_if; - struct sockaddr_dl *sdl; u_short *p; int i; int attached; @@ -1032,7 +1030,6 @@ epread(sc) int lenthisone; short rx_fifo2, status; - register short delta; register short rx_fifo; ifp = &sc->arpcom.ac_if; @@ -1129,7 +1126,6 @@ read_again: outw(BASE + EP_COMMAND, SET_RX_EARLY_THRESH | RX_NEXT_EARLY_THRESH); return; } -all_pkt: outw(BASE + EP_COMMAND, RX_DISCARD_TOP_PACK); ++ifp->if_ipackets; ep_fset(F_RX_FIRST); |