MFC r260110:

Eliminate unused drbr_stats_update implementation in oce(4) driver.

Noticed by:	dim
This commit is contained in:
delphij 2014-01-13 19:34:23 +00:00
parent 9033033601
commit d17709df94

View File

@ -1233,18 +1233,6 @@ oce_wq_handler(void *arg)
}
#if __FreeBSD_version >= 1000000
static __inline void
drbr_stats_update(struct ifnet *ifp, int len, int mflags)
{
#ifndef NO_SLOW_STATS
ifp->if_obytes += len;
if (mflags & M_MCAST)
ifp->if_omcasts++;
#endif
}
#endif
static int
oce_multiq_transmit(struct ifnet *ifp, struct mbuf *m, struct oce_wq *wq)
{