Module Name:    src
Committed By:   tsutsui
Date:           Sat Aug 14 08:06:54 UTC 2010

Modified Files:
        src/sys/dev/usb: if_axe.c

Log Message:
Remove dead assignment.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/usb/if_axe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/if_axe.c
diff -u src/sys/dev/usb/if_axe.c:1.38 src/sys/dev/usb/if_axe.c:1.39
--- src/sys/dev/usb/if_axe.c:1.38	Thu Jun 24 15:01:45 2010
+++ src/sys/dev/usb/if_axe.c	Sat Aug 14 08:06:54 2010
@@ -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);

Reply via email to