Date: Mon, 13 Jan 2014 19:42:38 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r260604 - stable/9/sys/dev/oce Message-ID: <201401131942.s0DJgcXq037044@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Mon Jan 13 19:42:37 2014 New Revision: 260604 URL: http://svnweb.freebsd.org/changeset/base/260604 Log: MFC r260110: Eliminate unused drbr_stats_update implementation in oce(4) driver. Noticed by: dim Modified: stable/9/sys/dev/oce/oce_if.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/oce/oce_if.c ============================================================================== --- stable/9/sys/dev/oce/oce_if.c Mon Jan 13 19:34:23 2014 (r260603) +++ stable/9/sys/dev/oce/oce_if.c Mon Jan 13 19:42:37 2014 (r260604) @@ -1228,18 +1228,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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401131942.s0DJgcXq037044>