diff options
author | Jeremy Evans <jeremy@cvs.openbsd.org> | 2013-11-06 15:55:16 +0000 |
---|---|---|
committer | Jeremy Evans <jeremy@cvs.openbsd.org> | 2013-11-06 15:55:16 +0000 |
commit | bd242b7d34f4823bac381a10d8c89f24a01e1e3f (patch) | |
tree | 3309932deefa43394411a35e5f92f17414c44f0f /sys/dev/usb/usbdi.c | |
parent | ce5df86bd604e695ccdc82dbc2d2a7825507dd51 (diff) |
Make usbd_free_xfer return void, since no callers use the return value.
OK mpi@
Diffstat (limited to 'sys/dev/usb/usbdi.c')
-rw-r--r-- | sys/dev/usb/usbdi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c index ce3e964cbc8..533a5b098d9 100644 --- a/sys/dev/usb/usbdi.c +++ b/sys/dev/usb/usbdi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdi.c,v 1.64 2013/11/02 01:41:17 jeremy Exp $ */ +/* $OpenBSD: usbdi.c,v 1.65 2013/11/06 15:55:15 jeremy 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 $ */ @@ -411,14 +411,14 @@ usbd_alloc_xfer(struct usbd_device *dev) return (xfer); } -usbd_status +void usbd_free_xfer(struct usbd_xfer *xfer) { DPRINTFN(5,("usbd_free_xfer: %p\n", xfer)); if (xfer->rqflags & (URQ_DEV_DMABUF | URQ_AUTO_DMABUF)) usbd_free_buffer(xfer); xfer->device->bus->methods->freex(xfer->device->bus, xfer); - return (USBD_NORMAL_COMPLETION); + return; } void |