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 No need to touch ux_done in ehci_device_{fs...



details:   https://anonhg.NetBSD.org/src/rev/d78e1f8dd144
branches:  nick-nhusb
changeset: 804298:d78e1f8dd144
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Mar 18 06:42:02 2015 +0000

description:
No need to touch ux_done in ehci_device_{fs_,}isoc_start

diffstat:

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

diffs (34 lines):

diff -r 3c2885b04bc7 -r d78e1f8dd144 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Tue Mar 17 20:56:39 2015 +0000
+++ b/sys/dev/usb/ehci.c        Wed Mar 18 06:42:02 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.234.2.43 2015/03/17 20:56:39 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.234.2.44 2015/03/18 06:42:02 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.43 2015/03/17 20:56:39 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.44 2015/03/18 06:42:02 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -4345,7 +4345,6 @@
 
        ehci_add_intr_list(sc, exfer);
        xfer->ux_status = USBD_IN_PROGRESS;
-       xfer->ux_done = 0;
 
        mutex_exit(&sc->sc_lock);
 
@@ -4675,7 +4674,6 @@
 
        ehci_add_intr_list(sc, exfer);
        xfer->ux_status = USBD_IN_PROGRESS;
-       xfer->ux_done = 0;
        mutex_exit(&sc->sc_lock);
 
        if (sc->sc_bus.ub_usepolling) {



Home | Main Index | Thread Index | Old Index