diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-02-28 17:20:00 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-02-28 17:20:00 +0000 |
| commit | f35aaff035b3476c45403598417e368577393144 (patch) | |
| tree | 52bf89969b126695c974ef34f39331894328db70 /sys/dev/usb/usb_dev.c | |
| parent | f5f145ba0737eacf37f8723bc3565a5ae16ae9d2 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb_dev.c')
| -rw-r--r-- | sys/dev/usb/usb_dev.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/usb/usb_dev.c b/sys/dev/usb/usb_dev.c index 66dfa62187a9..d206340a768e 100644 --- a/sys/dev/usb/usb_dev.c +++ b/sys/dev/usb/usb_dev.c @@ -473,8 +473,7 @@ usb2_fifo_create(struct usb2_cdev_privdata *cpd) /* Check TX FIFO */ if (is_tx && (udev->fifo[n + USB_FIFO_TX] == NULL)) { - pipe = usb2_dev_get_pipe(udev, - ep, USB_FIFO_TX); + pipe = usb2_dev_get_pipe(udev, ep, USB_FIFO_TX); DPRINTFN(5, "dev_get_pipe(%d, 0x%x)\n", ep, USB_FIFO_TX); if (pipe == NULL) { DPRINTFN(5, "dev_get_pipe returned NULL\n"); @@ -501,8 +500,7 @@ usb2_fifo_create(struct usb2_cdev_privdata *cpd) if (is_rx && (udev->fifo[n + USB_FIFO_RX] == NULL)) { - pipe = usb2_dev_get_pipe(udev, - ep, USB_FIFO_RX); + pipe = usb2_dev_get_pipe(udev, ep, USB_FIFO_RX); DPRINTFN(5, "dev_get_pipe(%d, 0x%x)\n", ep, USB_FIFO_RX); if (pipe == NULL) { DPRINTFN(5, "dev_get_pipe returned NULL\n"); @@ -598,8 +596,7 @@ usb2_fifo_free(struct usb2_fifo *f) } static struct usb2_pipe * -usb2_dev_get_pipe(struct usb2_device *udev, - uint8_t ep_index, uint8_t dir) +usb2_dev_get_pipe(struct usb2_device *udev, uint8_t ep_index, uint8_t dir) { struct usb2_pipe *pipe; uint8_t ep_dir; |
