From 3e81c8c2af67101fa47ce68b5ee9a02c44c97a62 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 18 Oct 1995 17:15:20 +0000 Subject: ra_len is useless --- sys/arch/sparc/dev/if_le.c | 4 +--- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3