svn commit: r365208 - head/sys/dev/mgb
Mateusz Guzik
mjg at FreeBSD.org
Tue Sep 1 22:08:15 UTC 2020
Author: mjg
Date: Tue Sep 1 22:08:14 2020
New Revision: 365208
URL: https://svnweb.freebsd.org/changeset/base/365208
Log:
mgb: clean up empty lines in .c and .h files
Modified:
head/sys/dev/mgb/if_mgb.c
head/sys/dev/mgb/if_mgb.h
Modified: head/sys/dev/mgb/if_mgb.c
==============================================================================
--- head/sys/dev/mgb/if_mgb.c Tue Sep 1 22:07:59 2020 (r365207)
+++ head/sys/dev/mgb/if_mgb.c Tue Sep 1 22:08:14 2020 (r365208)
@@ -241,7 +241,6 @@ static device_method_t mgb_iflib_methods[] = {
DEVMETHOD(ifdi_intr_enable, mgb_intr_enable_all),
DEVMETHOD(ifdi_intr_disable, mgb_intr_disable_all),
-
#if 0 /* Not yet implemented IFLIB methods */
/*
* Set multicast addresses, mtu and promiscuous mode
@@ -323,7 +322,6 @@ struct if_shared_ctx mgb_sctx_init = {
};
/*********************************************************************/
-
static void *
mgb_register(device_t dev)
Modified: head/sys/dev/mgb/if_mgb.h
==============================================================================
--- head/sys/dev/mgb/if_mgb.h Tue Sep 1 22:07:59 2020 (r365207)
+++ head/sys/dev/mgb/if_mgb.h Tue Sep 1 22:08:14 2020 (r365208)
@@ -217,7 +217,6 @@
#define MGB_INTR_VEC_STS(_v) (1 << (_v))
#define MGB_INTR_RX_VEC_STS(_qid) MGB_INTR_VEC_STS((_qid) + 1)
-
#define MGB_STS_OK ( 0 )
#define MGB_STS_TIMEOUT (-1 )
@@ -322,7 +321,6 @@ struct mgb_softc {
struct mtx mtx;
struct callout watchdog;
int timer;
-
bus_dma_tag_t dma_parent_tag;
struct mgb_ring_data rx_ring_data;
More information about the svn-src-all
mailing list