Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe remove duplicated assignment of mh->m_len



details:   https://anonhg.NetBSD.org/src/rev/97a5cd97f055
branches:  trunk
changeset: 808528:97a5cd97f055
user:      rtr <rtr%NetBSD.org@localhost>
date:      Thu May 21 00:45:27 2015 +0000

description:
remove duplicated assignment of mh->m_len

diffstat:

 sys/dev/pci/ixgbe/ixv.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r b2b4c479cf6b -r 97a5cd97f055 sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c   Thu May 21 00:12:10 2015 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c   Thu May 21 00:45:27 2015 +0000
@@ -31,7 +31,7 @@
 
 ******************************************************************************/
 /*$FreeBSD: head/sys/dev/ixgbe/ixv.c 247822 2013-03-04 23:07:40Z jfv $*/
-/*$NetBSD: ixv.c,v 1.8 2015/04/24 07:00:51 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.9 2015/05/21 00:45:27 rtr Exp $*/
 
 #include "opt_inet.h"
 #include "opt_inet6.h"
@@ -2829,7 +2829,6 @@
                        if (mh == NULL)
                                goto update;
                        mh->m_pkthdr.len = mh->m_len = MHLEN;
-                       mh->m_len = MHLEN;
                        mh->m_flags |= M_PKTHDR;
                        m_adj(mh, ETHER_ALIGN);
                        /* Get the memory mapping */



Home | Main Index | Thread Index | Old Index