Module Name: src Committed By: skrll Date: Sat Mar 21 16:42:55 UTC 2015
Modified Files: src/sys/dev/usb [nick-nhusb]: ehci.c Log Message: G/C unused variable/code To generate a diff of this commit: cvs rdiff -u -r1.234.2.45 -r1.234.2.46 src/sys/dev/usb/ehci.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/ehci.c diff -u src/sys/dev/usb/ehci.c:1.234.2.45 src/sys/dev/usb/ehci.c:1.234.2.46 --- src/sys/dev/usb/ehci.c:1.234.2.45 Thu Mar 19 17:26:42 2015 +++ src/sys/dev/usb/ehci.c Sat Mar 21 16:42:55 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: ehci.c,v 1.234.2.45 2015/03/19 17:26:42 skrll Exp $ */ +/* $NetBSD: ehci.c,v 1.234.2.46 2015/03/21 16:42:55 skrll Exp $ */ /* * Copyright (c) 2004-2012 The NetBSD Foundation, Inc. @@ -53,7 +53,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.45 2015/03/19 17:26:42 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.46 2015/03/21 16:42:55 skrll Exp $"); #include "ohci.h" #include "uhci.h" @@ -142,10 +142,6 @@ struct ehci_pipe { struct { u_int length; } intr; - /* Bulk pipe */ - struct { - u_int length; - } bulk; /* Iso pipe */ struct { u_int next_frame; @@ -3735,8 +3731,6 @@ ehci_device_bulk_start(struct usbd_xfer isread = UE_GET_DIR(endpt) == UE_DIR_IN; sqh = epipe->sqh; - epipe->u.bulk.length = len; - err = ehci_alloc_sqtd_chain(epipe, sc, len, isread, xfer, &data, &dataend); if (err) {