Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb G/C unused variable/code



details:   https://anonhg.NetBSD.org/src/rev/155ad4f0af71
branches:  nick-nhusb
changeset: 804311:155ad4f0af71
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Mar 21 16:42:55 2015 +0000

description:
G/C unused variable/code

diffstat:

 sys/dev/usb/ehci.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r d553b5319b1a -r 155ad4f0af71 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Sat Mar 21 15:30:11 2015 +0000
+++ b/sys/dev/usb/ehci.c        Sat Mar 21 16:42:55 2015 +0000
@@ -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 {
                        u_int length;
                } intr;
-               /* Bulk pipe */
-               struct {
-                       u_int length;
-               } bulk;
                /* Iso pipe */
                struct {
                        u_int next_frame;
@@ -3735,8 +3731,6 @@
        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) {



Home | Main Index | Thread Index | Old Index