diff options
author | Xin LI <delphij@FreeBSD.org> | 2013-12-30 21:30:49 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2013-12-30 21:30:49 +0000 |
commit | 198f573526b510641e0c6292f144c4f2973fc125 (patch) | |
tree | 39fedc0c422d49601c571922b5826f164e847d3c /sys/dev/oce | |
parent | f0aa0e0e239e0a50172398782ee7cd2be1f7a88a (diff) | |
download | src-198f573526b510641e0c6292f144c4f2973fc125.tar.gz src-198f573526b510641e0c6292f144c4f2973fc125.zip |
Eliminate unused drbr_stats_update implementation in oce(4) driver.
Noticed by: dim
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=260110
Diffstat (limited to 'sys/dev/oce')
-rw-r--r-- | sys/dev/oce/oce_if.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c index f637f2a181b0..6749c2ed50e5 100644 --- a/sys/dev/oce/oce_if.c +++ b/sys/dev/oce/oce_if.c @@ -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) { |