svn commit: r260603 - stable/10/sys/dev/oce
Xin LI
delphij at FreeBSD.org
Mon Jan 13 19:34:24 UTC 2014
Author: delphij
Date: Mon Jan 13 19:34:23 2014
New Revision: 260603
URL: http://svnweb.freebsd.org/changeset/base/260603
Log:
MFC r260110:
Eliminate unused drbr_stats_update implementation in oce(4) driver.
Noticed by: dim
Modified:
stable/10/sys/dev/oce/oce_if.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/oce/oce_if.c
==============================================================================
--- stable/10/sys/dev/oce/oce_if.c Mon Jan 13 19:14:29 2014 (r260602)
+++ stable/10/sys/dev/oce/oce_if.c Mon Jan 13 19:34:23 2014 (r260603)
@@ -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-stable-10
mailing list