Eliminate unused drbr_stats_update implementation in oce(4) driver.

Noticed by:	dim
MFC after:	2 weeks
This commit is contained in:
Xin LI 2013-12-30 21:30:49 +00:00
parent f0aa0e0e23
commit 198f573526
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260110

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)
{