diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-05 11:28:49 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-05 11:28:49 +0000 |
commit | 294b6baaa271db823ed761f469c31c90fab84d66 (patch) | |
tree | a5c2e1f159ece790a105d2583f67c3ba0ad58608 /sys/dev | |
parent | cfe0a78cef5196af6fdccce56639603b4a8bd5f4 (diff) |
Remove a DIAGNOSTIC test for a NULL pipe value inside a transfer,
mpi says a transfer can't exist without a pipe. ok mpi@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/usbdi.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c index f688e24ce7a..68419ca1886 100644 --- a/sys/dev/usb/usbdi.c +++ b/sys/dev/usb/usbdi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdi.c,v 1.91 2017/04/08 02:57:25 deraadt Exp $ */ +/* $OpenBSD: usbdi.c,v 1.92 2017/05/05 11:28:48 jsg Exp $ */ /* $NetBSD: usbdi.c,v 1.103 2002/09/27 15:37:38 provos Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbdi.c,v 1.28 1999/11/17 22:33:49 n_hibma Exp $ */ @@ -728,12 +728,6 @@ usb_transfer_complete(struct usbd_xfer *xfer) } #endif -#ifdef DIAGNOSTIC - if (pipe == NULL) { - printf("usb_transfer_complete: pipe==0, xfer=%p\n", xfer); - return; - } -#endif /* XXXX */ if (polling) pipe->running = 0; |