svn commit: r260110 - head/sys/dev/oce
Xin LI
delphij at FreeBSD.org
Mon Dec 30 21:30:50 UTC 2013
Author: delphij
Date: Mon Dec 30 21:30:49 2013
New Revision: 260110
URL: http://svnweb.freebsd.org/changeset/base/260110
Log:
Eliminate unused drbr_stats_update implementation in oce(4) driver.
Noticed by: dim
MFC after: 2 weeks
Modified:
head/sys/dev/oce/oce_if.c
Modified: head/sys/dev/oce/oce_if.c
==============================================================================
--- head/sys/dev/oce/oce_if.c Mon Dec 30 21:24:41 2013 (r260109)
+++ head/sys/dev/oce/oce_if.c Mon Dec 30 21:30:49 2013 (r260110)
@@ -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)
{
More information about the svn-src-head
mailing list