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 unused length member of ctrl xfer in stru...



details:   https://anonhg.NetBSD.org/src/rev/acd2c562ce25
branches:  trunk
changeset: 783822:acd2c562ce25
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jan 09 23:02:58 2013 +0000

description:
Remove unused length member of ctrl xfer in struct ehci_pipe

diffstat:

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

diffs (34 lines):

diff -r 860fc393454d -r acd2c562ce25 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Wed Jan 09 23:02:58 2013 +0000
+++ b/sys/dev/usb/ehci.c        Wed Jan 09 23:02:58 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.197 2013/01/07 15:07:40 prlw1 Exp $ */
+/*     $NetBSD: ehci.c,v 1.198 2013/01/09 23:02:59 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.197 2013/01/07 15:07:40 prlw1 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.198 2013/01/09 23:02:59 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -115,7 +115,6 @@
                /* Control pipe */
                struct {
                        usb_dma_t reqdma;
-                       u_int length;
                } ctl;
                /* Interrupt pipe */
                struct {
@@ -3388,7 +3387,6 @@
        mutex_enter(&sc->sc_lock);
 
        sqh = epipe->sqh;
-       epipe->u.ctl.length = len;
 
        /*
         * Update device address and length since they may have changed



Home | Main Index | Thread Index | Old Index