Module Name: src
Committed By: skrll
Date: Tue Oct 22 09:42:20 UTC 2013
Modified Files:
src/sys/external/bsd/dwc2: dwc2.c
Log Message:
Remove unused usbd_xfer_handle from dwc2_pipe.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/external/bsd/dwc2/dwc2.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/dwc2/dwc2.c
diff -u src/sys/external/bsd/dwc2/dwc2.c:1.14 src/sys/external/bsd/dwc2/dwc2.c:1.15
--- src/sys/external/bsd/dwc2/dwc2.c:1.14 Tue Oct 22 09:30:04 2013
+++ src/sys/external/bsd/dwc2/dwc2.c Tue Oct 22 09:42:20 2013
@@ -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 @@ dwc2_open(usbd_pipe_handle pipe)
}
dpipe->priv = NULL; /* QH */
- dpipe->xfer = NULL; /* dwc2_urb */
return USBD_NORMAL_COMPLETION;
}
@@ -1390,10 +1389,6 @@ fail:
err = USBD_IOERROR;
}
- if (err) {
- dpipe->xfer = NULL;
- }
-
return err;
}