summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>2004-07-17 20:12:02 +0000
committermycroft <mycroft@NetBSD.org>2004-07-17 20:12:02 +0000
commitc206d4cf152df8c5e7cb7c00df129b65e16b30ee (patch)
treea0733c011c8119ba48c41d76fc31d393c27978e0 /sys/dev/usb
parentdb93484e06c3bf6012983adb3f6c93b15d1cbde2 (diff)
hcpriv is not actually used here. Remove references to it.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ehci.c6
-rw-r--r--sys/dev/usb/uhci.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 7d6d4a82e35..c78ce867289 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.68 2004/07/09 05:07:06 mycroft Exp $ */
+/* $NetBSD: ehci.c,v 1.69 2004/07/17 20:12:02 mycroft Exp $ */
/*
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.68 2004/07/09 05:07:06 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.69 2004/07/17 20:12:02 mycroft Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -1931,7 +1931,6 @@ ehci_root_ctrl_close(usbd_pipe_handle pipe)
void
ehci_root_intr_done(usbd_xfer_handle xfer)
{
- xfer->hcpriv = NULL;
}
Static usbd_status
@@ -1992,7 +1991,6 @@ ehci_root_intr_close(usbd_pipe_handle pipe)
void
ehci_root_ctrl_done(usbd_xfer_handle xfer)
{
- xfer->hcpriv = NULL;
}
/************************/
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 76d95a170fa..557c9ce2f3e 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.179 2004/06/29 03:57:36 mycroft Exp $ */
+/* $NetBSD: uhci.c,v 1.180 2004/07/17 20:12:03 mycroft Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
/*
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.179 2004/06/29 03:57:36 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.180 2004/07/17 20:12:03 mycroft Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1963,8 +1963,6 @@ uhci_abort_xfer(usbd_xfer_handle xfer, usbd_status status)
/*
* Step 3: Execute callback.
*/
- xfer->hcpriv = ii;
-
DPRINTFN(1,("uhci_abort_xfer: callback\n"));
s = splusb();
#ifdef DIAGNOSTIC