From 530f35200b8148e072b5106d7f0d585d1fc3ff14 Mon Sep 17 00:00:00 2001 From: gwr Date: Mon, 27 Jan 1997 22:14:19 +0000 Subject: [PATCH] kill type cast --- sys/arch/sun3x/dev/if_le.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/arch/sun3x/dev/if_le.c b/sys/arch/sun3x/dev/if_le.c index 42b8a4e25642..00f4460c3322 100644 --- a/sys/arch/sun3x/dev/if_le.c +++ b/sys/arch/sun3x/dev/if_le.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_le.c,v 1.3 1997/01/17 16:15:44 gwr Exp $ */ +/* $NetBSD: if_le.c,v 1.4 1997/01/27 22:14:19 gwr Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -145,9 +145,8 @@ le_attach(parent, self, aux) struct am7990_softc *sc = &lesc->sc_am7990; struct confargs *ca = aux; - lesc->sc_r1 = (struct lereg1 *) - bus_mapin(ca->ca_bustype, ca->ca_paddr, - sizeof(struct lereg1)); + lesc->sc_r1 = bus_mapin(ca->ca_bustype, + ca->ca_paddr, sizeof(struct lereg1)); lesc->sc_kmem = malloc(LE_MEMSIZE, M_DEVBUF, M_NOWAIT); sc->sc_memsize = LE_MEMSIZE;