Date: Tue, 1 Sep 2020 22:08:15 +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: r365208 - head/sys/dev/mgb Message-ID: <202009012208.081M8Ffi056096@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012208.081M8Ffi056096>