From 3a1ecfe33d10e7ce2cb706c99b73de33e2b25419 Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Tue, 1 Sep 2020 21:42:38 +0000 Subject: [PATCH] bfe: clean up empty lines in .c and .h files --- sys/dev/bfe/if_bfe.c | 5 +---- sys/dev/bfe/if_bfereg.h | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c index c7d7ebf8aaf..a6b79b353e3 100644 --- a/sys/dev/bfe/if_bfe.c +++ b/sys/dev/bfe/if_bfe.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ - #include __FBSDID("$FreeBSD$"); @@ -823,7 +822,7 @@ bfe_list_newbuf(struct bfe_softc *sc, int c) rx_header->len = 0; rx_header->flags = 0; bus_dmamap_sync(sc->bfe_rxmbuf_tag, r->bfe_map, BUS_DMASYNC_PREREAD); - + ctrl = segs[0].ds_len & BFE_DESC_LEN; KASSERT(ctrl > ETHER_MAX_LEN + 32, ("%s: buffer size too small(%d)!", __func__, ctrl)); @@ -1110,7 +1109,6 @@ bfe_set_rx_mode(struct bfe_softc *sc) else val |= BFE_RXCONF_DBCAST; - CSR_WRITE_4(sc, BFE_CAM_CTRL, 0); bfe_cam_write(sc, IF_LLADDR(sc->bfe_ifp), 0); @@ -1481,7 +1479,6 @@ bfe_intr(void *xsc) bfe_txeof(sc); if (istat & BFE_ISTAT_ERRORS) { - if (istat & BFE_ISTAT_DSCE) { device_printf(sc->bfe_dev, "Descriptor Error\n"); bfe_stop(sc); diff --git a/sys/dev/bfe/if_bfereg.h b/sys/dev/bfe/if_bfereg.h index 668d2604ffc..8638f78cf56 100644 --- a/sys/dev/bfe/if_bfereg.h +++ b/sys/dev/bfe/if_bfereg.h @@ -248,7 +248,6 @@ #define BFE_IBE 0x00020000 /* In Band Error */ #define BFE_TO 0x00040000 /* Timeout */ - /* Seems the bcm440x has a fairly generic core, we only need be concerned with * a couple of these */