Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/dwc2 Minor cleanup.
details: https://anonhg.NetBSD.org/src/rev/be0595afa8ed
branches: trunk
changeset: 790813:be0595afa8ed
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Oct 22 09:30:04 2013 +0000
description:
Minor cleanup.
diffstat:
sys/external/bsd/dwc2/dwc2.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r e5e5d155e121 -r be0595afa8ed sys/external/bsd/dwc2/dwc2.c
--- a/sys/external/bsd/dwc2/dwc2.c Tue Oct 22 09:23:34 2013 +0000
+++ b/sys/external/bsd/dwc2/dwc2.c Tue Oct 22 09:30:04 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc2.c,v 1.13 2013/10/22 09:23:34 skrll Exp $ */
+/* $NetBSD: dwc2.c,v 1.14 2013/10/22 09:30:04 skrll Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.13 2013/10/22 09:23:34 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.14 2013/10/22 09:30:04 skrll Exp $");
#include "opt_usb.h"
@@ -1359,7 +1359,7 @@
/* might need to check cpu_intr_p */
retval = dwc2_hcd_urb_enqueue(hsotg, dwc2_urb, &dpipe->priv, 0);
if (retval)
- goto fail2;
+ goto fail;
if (xfer->timeout && !sc->sc_bus.use_polling) {
callout_reset(&xfer->timeout_handle, mstohz(xfer->timeout),
@@ -1374,7 +1374,7 @@
mutex_spin_exit(&hsotg->lock);
}
-fail2:
+fail:
// mutex_exit(&sc->sc_lock);
switch (retval) {
@@ -1390,7 +1390,6 @@
err = USBD_IOERROR;
}
-// fail1:
if (err) {
dpipe->xfer = NULL;
}
Home |
Main Index |
Thread Index |
Old Index