diff --git a/sys/dev/mgb/if_mgb.c b/sys/dev/mgb/if_mgb.c index 29e234191589..ce4d43b8d34c 100644 --- a/sys/dev/mgb/if_mgb.c +++ b/sys/dev/mgb/if_mgb.c @@ -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 @@ -324,7 +323,6 @@ struct if_shared_ctx mgb_sctx_init = { /*********************************************************************/ - static void * mgb_register(device_t dev) { diff --git a/sys/dev/mgb/if_mgb.h b/sys/dev/mgb/if_mgb.h index 0db5d5e01f85..fe7f03a8dd73 100644 --- a/sys/dev/mgb/if_mgb.h +++ b/sys/dev/mgb/if_mgb.h @@ -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 ) @@ -323,7 +322,6 @@ struct mgb_softc { struct callout watchdog; int timer; - bus_dma_tag_t dma_parent_tag; struct mgb_ring_data rx_ring_data; struct mgb_ring_data tx_ring_data;