summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-10-28 15:39:31 +0000
committerphk <phk@FreeBSD.org>1995-10-28 15:39:31 +0000
commit7fd61cfafdd6b3dee4d468626c6ddb0cfac19d66 (patch)
tree7a650b2ba047df3a24edf181fde8921e94889edc /sys/dev/ed
parent7b27d202bdb399f2adcb28bf30b22344b83fddc1 (diff)
downloadFreeBSD-src-7fd61cfafdd6b3dee4d468626c6ddb0cfac19d66.zip
FreeBSD-src-7fd61cfafdd6b3dee4d468626c6ddb0cfac19d66.tar.gz
Remove unused functions and variables, make things static, and other cleanups.
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 9234fcf..c39a75f 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -13,7 +13,7 @@
* the SMC Elite Ultra (8216), the 3Com 3c503, the NE1000 and NE2000,
* and a variety of similar clones.
*
- * $Id: if_ed.c,v 1.79 1995/10/21 00:55:23 phk Exp $
+ * $Id: if_ed.c,v 1.80 1995/10/26 20:29:27 julian Exp $
*/
#include "ed.h"
@@ -307,7 +307,6 @@ static inline void
ed_registerdev(struct isa_device *id, const char *descr)
{
struct kern_devconf *kdc = &ed_softc[id->id_unit].kdc;
- char *longdescr;
*kdc = kdc_ed_template;
kdc->kdc_unit = id->id_unit;
kdc->kdc_parentdata = id;
@@ -1289,7 +1288,7 @@ ed_probe_pccard(isa_dev, ether)
struct ed_softc *sc = &ed_softc[isa_dev->id_unit];
int i;
u_int memsize;
- u_char iptr, isa16bit, sum;
+ u_char isa16bit;
sc->nic_addr = isa_dev->id_iobase;
sc->gone = 0;
OpenPOWER on IntegriCloud