Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Remove dead assignment.



details:   https://anonhg.NetBSD.org/src/rev/a008fc2458a4
branches:  trunk
changeset: 757080:a008fc2458a4
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Aug 14 08:06:54 2010 +0000

description:
Remove dead assignment.

diffstat:

 sys/dev/usb/if_axe.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r fab598125395 -r a008fc2458a4 sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c      Sat Aug 14 05:41:22 2010 +0000
+++ b/sys/dev/usb/if_axe.c      Sat Aug 14 08:06:54 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_axe.c,v 1.38 2010/06/24 15:01:45 tsutsui Exp $      */
+/*     $NetBSD: if_axe.c,v 1.39 2010/08/14 08:06:54 tsutsui Exp $      */
 /*     $OpenBSD: if_axe.c,v 1.96 2010/01/09 05:33:08 jsg Exp $ */
 
 /*
@@ -89,7 +89,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.38 2010/06/24 15:01:45 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.39 2010/08/14 08:06:54 tsutsui Exp $");
 
 #if defined(__NetBSD__)
 #include "opt_inet.h"
@@ -1005,9 +1005,6 @@
 
                memcpy(mtod(m, char *), buf, pktlen);
 
-               /* No errors; receive the packet. */
-               pktlen -= ETHER_CRC_LEN + 4;
-
                s = splnet();
 
                bpf_mtap(ifp, m);



Home | Main Index | Thread Index | Old Index