Get rid of unused abort_handle.

This commit is contained in:
augustss 2001-11-10 17:11:38 +00:00
parent 21f0709fbe
commit 9a444aef81
3 changed files with 3 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: usb_subr.c,v 1.89 2001/11/10 17:10:42 augustss Exp $ */
/* $NetBSD: usb_subr.c,v 1.90 2001/11/10 17:11:38 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
/*
@ -724,7 +724,6 @@ usbd_setup_pipe(usbd_device_handle dev, usbd_interface_handle iface,
p->repeat = 0;
p->interval = ival;
SIMPLEQ_INIT(&p->queue);
usb_callout_init(p->abort_handle);
err = dev->bus->methods->open_pipe(p);
if (err) {
DPRINTFN(-1,("usbd_setup_pipe: endpoint=0x%x failed, error="

View File

@ -1,4 +1,4 @@
/* $NetBSD: usbdi.c,v 1.82 2001/11/10 16:54:56 augustss Exp $ */
/* $NetBSD: usbdi.c,v 1.83 2001/11/10 17:11:38 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi.c,v 1.28 1999/11/17 22:33:49 n_hibma Exp $ */
/*
@ -269,12 +269,6 @@ usbd_close_pipe(usbd_pipe_handle pipe)
LIST_REMOVE(pipe, next);
pipe->endpoint->refcnt--;
pipe->methods->close(pipe);
#if defined(__NetBSD__) && defined(DIAGNOSTIC)
if (callout_pending(&pipe->abort_handle)) {
callout_stop(&pipe->abort_handle);
printf("usbd_close_pipe: abort_handle pending");
}
#endif
if (pipe->intrxfer != NULL)
usbd_free_xfer(pipe->intrxfer);
free(pipe, M_USB);

View File

@ -1,4 +1,4 @@
/* $NetBSD: usbdivar.h,v 1.64 2001/11/10 16:54:56 augustss Exp $ */
/* $NetBSD: usbdivar.h,v 1.65 2001/11/10 17:11:38 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $ */
/*
@ -176,8 +176,6 @@ struct usbd_pipe {
char repeat;
int interval;
usb_callout_t abort_handle;
/* Filled by HC driver. */
struct usbd_pipe_methods *methods;
};