Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 21:42:38 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365121 - head/sys/dev/bfe
Message-ID:  <202009012142.081LgcDq039322@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Sep  1 21:42:38 2020
New Revision: 365121
URL: https://svnweb.freebsd.org/changeset/base/365121

Log:
  bfe: clean up empty lines in .c and .h files

Modified:
  head/sys/dev/bfe/if_bfe.c
  head/sys/dev/bfe/if_bfereg.h

Modified: head/sys/dev/bfe/if_bfe.c
==============================================================================
--- head/sys/dev/bfe/if_bfe.c	Tue Sep  1 21:42:21 2020	(r365120)
+++ head/sys/dev/bfe/if_bfe.c	Tue Sep  1 21:42:38 2020	(r365121)
@@ -26,7 +26,6 @@
  * SUCH DAMAGE.
  */
 
-
 #include <sys/cdefs.h>
 __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);

Modified: head/sys/dev/bfe/if_bfereg.h
==============================================================================
--- head/sys/dev/bfe/if_bfereg.h	Tue Sep  1 21:42:21 2020	(r365120)
+++ head/sys/dev/bfe/if_bfereg.h	Tue Sep  1 21:42:38 2020	(r365121)
@@ -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
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012142.081LgcDq039322>