diff options
author | phk <phk@FreeBSD.org> | 1995-10-28 15:39:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-10-28 15:39:31 +0000 |
commit | 7fd61cfafdd6b3dee4d468626c6ddb0cfac19d66 (patch) | |
tree | 7a650b2ba047df3a24edf181fde8921e94889edc /sys/dev/lnc | |
parent | 7b27d202bdb399f2adcb28bf30b22344b83fddc1 (diff) | |
download | FreeBSD-src-7fd61cfafdd6b3dee4d468626c6ddb0cfac19d66.zip FreeBSD-src-7fd61cfafdd6b3dee4d468626c6ddb0cfac19d66.tar.gz |
Remove unused functions and variables, make things static, and other cleanups.
Diffstat (limited to 'sys/dev/lnc')
-rw-r--r-- | sys/dev/lnc/if_lnc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index 632ef6c..b0a1b7f 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -229,7 +229,6 @@ lnc_stop(int unit) void lnc_reset(int unit) { - int s; lnc_init(unit); } @@ -825,10 +824,10 @@ lnc_tint(int unit) int lnc_probe(struct isa_device * isa_dev) { -int nports; -int vsw; + int nports; #ifdef DIAGNOSTIC + int vsw; vsw = inw(isa_dev->id_iobase + PCNET_VSW); printf("Vendor Specific Word = %x\n", vsw); #endif @@ -1120,7 +1119,6 @@ lnc_init(int unit) struct lnc_softc *sc = &lnc_softc[unit]; int s, i; char *lnc_mem; - struct mbuf *m = 0; /* Check that interface has valid address */ @@ -1423,7 +1421,6 @@ lnc_start(struct ifnet *ifp) int end_of_packet; struct mbuf *head, *m; int len, chunk; - char *buffer; int addr; int no_entries_needed; |