summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 17:15:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 17:15:20 +0000
commit3e81c8c2af67101fa47ce68b5ee9a02c44c97a62 (patch)
treed642370d27798555d7450fc82d1f87ede5953daa
parentbf71f3692e79a14cfa2d7f921e0c1ce579e2f7cc (diff)
ra_len is useless
-rw-r--r--sys/arch/sparc/dev/if_le.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/if_le.c b/sys/arch/sparc/dev/if_le.c
index fe422afe1ce..418a38aa43f 100644
--- a/sys/arch/sparc/dev/if_le.c
+++ b/sys/arch/sparc/dev/if_le.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_le.c,v 1.21 1995/06/23 13:19:44 pk Exp $ */
+/* $NetBSD: if_le.c,v 1.20 1995/04/12 08:47:21 pk Exp $ */
/*-
* Copyright (c) 1982, 1992, 1993
@@ -181,7 +181,6 @@ lematch(parent, vcf, aux)
return (0);
if (ca->ca_bustype == BUS_SBUS)
return (1);
- ra->ra_len = NBPG;
return (probeget(ra->ra_vaddr, 2) != -1);
}
@@ -455,7 +454,6 @@ leinit(unit)
register struct ifnet *ifp = &sc->sc_if;
register int s;
- /* not yet, if address still unknown */
if ((ifp->if_flags & IFF_RUNNING) == 0) {
s = splimp();
ifp->if_flags |= IFF_RUNNING;