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 Remove unused usbd_xfer_handle from dw...
details: https://anonhg.NetBSD.org/src/rev/baa945271831
branches: trunk
changeset: 790814:baa945271831
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Oct 22 09:42:20 2013 +0000
description:
Remove unused usbd_xfer_handle from dwc2_pipe.
diffstat:
sys/external/bsd/dwc2/dwc2.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (37 lines):
diff -r be0595afa8ed -r baa945271831 sys/external/bsd/dwc2/dwc2.c
--- a/sys/external/bsd/dwc2/dwc2.c Tue Oct 22 09:30:04 2013 +0000
+++ b/sys/external/bsd/dwc2/dwc2.c Tue Oct 22 09:42:20 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc2.c,v 1.14 2013/10/22 09:30:04 skrll Exp $ */
+/* $NetBSD: dwc2.c,v 1.15 2013/10/22 09:42:20 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.14 2013/10/22 09:30:04 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.15 2013/10/22 09:42:20 skrll Exp $");
#include "opt_usb.h"
@@ -496,7 +496,6 @@
}
dpipe->priv = NULL; /* QH */
- dpipe->xfer = NULL; /* dwc2_urb */
return USBD_NORMAL_COMPLETION;
}
@@ -1390,10 +1389,6 @@
err = USBD_IOERROR;
}
- if (err) {
- dpipe->xfer = NULL;
- }
-
return err;
}
Home |
Main Index |
Thread Index |
Old Index