diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-05-30 13:25:00 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-05-30 13:25:00 +0000 |
commit | d365054a04668d618738f402bfb204f1829a1764 (patch) | |
tree | 777d38ab3e553063f96ac1c3cb4b237aeabf2eaf /sys/dev/usb/uhci.c | |
parent | 4d51e43441a4ff2ae1e94a81eb4e68bf327dbeb0 (diff) |
Remove unused fields from the pipes.
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r-- | sys/dev/usb/uhci.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index afb3037174d..00841944642 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhci.c,v 1.121 2014/05/25 09:59:12 mpi Exp $ */ +/* $OpenBSD: uhci.c,v 1.122 2014/05/30 13:24:59 mpi Exp $ */ /* $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $ */ /* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */ @@ -77,10 +77,6 @@ struct uhci_pipe { struct usbd_pipe pipe; int nexttoggle; - u_char aborting; - struct usbd_xfer *abortstart, *abortend; - - /* Info needed for different pipe kinds. */ union { /* Control pipe */ struct { @@ -1685,9 +1681,6 @@ uhci_device_bulk_start(struct usbd_xfer *xfer) endpt = xfer->pipe->endpoint->edesc->bEndpointAddress; sqh = upipe->u.bulk.sqh; - upipe->u.bulk.isread = usbd_xfer_isread(xfer); - upipe->u.bulk.length = len; - err = uhci_alloc_std_chain(sc, len, xfer, &data, &dataend); if (err) return (err); @@ -2697,7 +2690,6 @@ uhci_open(struct usbd_pipe *pipe) DPRINTFN(1, ("uhci_open: pipe=%p, addr=%d, endpt=%d\n", pipe, pipe->device->address, ed->bEndpointAddress)); - upipe->aborting = 0; upipe->nexttoggle = pipe->endpoint->savedtoggle; /* Root Hub */ |