Diff reduction to NetBSD.

ehci.c rev. 1.69, author: mycroft
uhci.c rev. 1.179, author: mycroft
   hcpriv is not actually used here.  Remove references to it.

Obtained from:   NetBSD
This commit is contained in:
Lukas Ertl 2004-07-19 20:47:46 +00:00
parent e832aafc51
commit 483c6192ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132415
2 changed files with 2 additions and 4 deletions

View File

@ -8,6 +8,7 @@
* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $
* $NetBSD: ehci.c,v 1.67 2004/07/06 04:18:05 mycroft Exp $
* $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 $
*/
/*
@ -1976,7 +1977,6 @@ ehci_root_ctrl_close(usbd_pipe_handle pipe)
void
ehci_root_intr_done(usbd_xfer_handle xfer)
{
xfer->hcpriv = NULL;
}
Static usbd_status
@ -2037,7 +2037,6 @@ ehci_root_intr_close(usbd_pipe_handle pipe)
void
ehci_root_ctrl_done(usbd_xfer_handle xfer)
{
xfer->hcpriv = NULL;
}
/************************/

View File

@ -7,6 +7,7 @@
* $NetBSD: uhci.c,v 1.176 2003/11/04 19:11:21 mycroft Exp $
* $NetBSD: uhci.c,v 1.177 2003/12/29 08:17:10 toshii Exp $
* $NetBSD: uhci.c,v 1.178 2004/03/02 16:32:05 martin Exp $
* $NetBSD: uhci.c,v 1.180 2004/07/17 20:12:03 mycroft Exp $
*/
#include <sys/cdefs.h>
@ -1973,8 +1974,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