From e6b0a3f4a4ac236fe8df7a596038e31f2861cecb Mon Sep 17 00:00:00 2001 From: thib Date: Thu, 24 Jul 2008 19:01:28 +0000 Subject: [PATCH] dont need malloc.h anymore; plus two tiny whitespace fixes --- sys/dev/pci/if_vr.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index 4186a61c689..17133111850 100644 --- a/sys/dev/pci/if_vr.c +++ b/sys/dev/pci/if_vr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vr.c,v 1.74 2008/07/18 13:38:40 thib Exp $ */ +/* $OpenBSD: if_vr.c,v 1.75 2008/07/24 19:01:28 thib Exp $ */ /* * Copyright (c) 1997, 1998 @@ -67,7 +67,6 @@ #include #include #include -#include #include #include #include @@ -682,7 +681,7 @@ vr_list_rx_init(struct vr_softc *sc) cd = &sc->vr_cdata; ld = sc->vr_ldata; - for (i = 0; i < VR_RX_LIST_CNT; i++) { + for (i = 0; i < VR_RX_LIST_CNT; i++) { if (bus_dmamap_create(sc->sc_dmat, MCLBYTES, 1, MCLBYTES, 0, BUS_DMA_NOWAIT | BUS_DMA_READ, &cd->vr_rx_chain[i].vr_map)) @@ -710,7 +709,7 @@ vr_list_rx_init(struct vr_softc *sc) cd->vr_rx_head = &cd->vr_rx_chain[0]; - return(0); + return (0); } /* -- 2.20.1