diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-10-30 23:50:26 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-10-30 23:50:26 +0000 |
commit | 9d298731a1daaa1979ad0bd31b12540b5527d88c (patch) | |
tree | 037b09f8ae6bcbc9c33916e0e935b64e75681fd0 | |
parent | a8b180131996e240a35972ea96d7f5e411fff4a2 (diff) |
XFER_FREE is not used, ciao.
-rw-r--r-- | sys/dev/usb/uhci.c | 7 | ||||
-rw-r--r-- | sys/dev/usb/usbdivar.h | 3 |
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 583689d9dcd..5d5a990d0b4 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhci.c,v 1.131 2014/08/10 11:18:57 mpi Exp $ */ +/* $OpenBSD: uhci.c,v 1.132 2014/10/30 23:50:25 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 $ */ @@ -2424,11 +2424,6 @@ uhci_device_isoc_done(struct usbd_xfer *xfer) return; #ifdef DIAGNOSTIC - if (xfer->busy_free == XFER_FREE) { - printf("uhci_device_isoc_done: xfer=%p is free\n", xfer); - return; - } - if (ux->stdend == NULL) { printf("uhci_device_isoc_done: xfer=%p stdend==NULL\n", xfer); #ifdef UHCI_DEBUG diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h index 980e5ddb30c..6b9c2a88fea 100644 --- a/sys/dev/usb/usbdivar.h +++ b/sys/dev/usb/usbdivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdivar.h,v 1.62 2014/08/09 09:45:14 mpi Exp $ */ +/* $OpenBSD: usbdivar.h,v 1.63 2014/10/30 23:50:25 mpi Exp $ */ /* $NetBSD: usbdivar.h,v 1.70 2002/07/11 21:14:36 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $ */ @@ -192,7 +192,6 @@ struct usbd_xfer { volatile char done; #ifdef DIAGNOSTIC u_int32_t busy_free; -#define XFER_FREE 0x46524545 #define XFER_BUSY 0x42555359 #define XFER_ONQU 0x4f4e5155 #endif |