diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-09 00:27:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-09 00:27:51 -0400 |
commit | 141dc40ee343ab532717b235dd645e2d25ae3092 (patch) | |
tree | 2289e5d1ec20df5e465b9b629e291877f4d70485 /drivers/usb/serial/keyspan.c | |
parent | 1c83d94ff646001f9ee83f0330a3933b55660927 (diff) | |
parent | 317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff) |
Merge 3.10-rc5 into usb-next
We need the changes in this branch.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/keyspan.c')
-rw-r--r-- | drivers/usb/serial/keyspan.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c index 546fa904e141..28365e647168 100644 --- a/drivers/usb/serial/keyspan.c +++ b/drivers/usb/serial/keyspan.c | |||
@@ -1539,7 +1539,6 @@ static int keyspan_usa26_send_setup(struct usb_serial *serial, | |||
1539 | struct keyspan_serial_private *s_priv; | 1539 | struct keyspan_serial_private *s_priv; |
1540 | struct keyspan_port_private *p_priv; | 1540 | struct keyspan_port_private *p_priv; |
1541 | const struct keyspan_device_details *d_details; | 1541 | const struct keyspan_device_details *d_details; |
1542 | int outcont_urb; | ||
1543 | struct urb *this_urb; | 1542 | struct urb *this_urb; |
1544 | int device_port, err; | 1543 | int device_port, err; |
1545 | 1544 | ||
@@ -1550,7 +1549,6 @@ static int keyspan_usa26_send_setup(struct usb_serial *serial, | |||
1550 | d_details = s_priv->device_details; | 1549 | d_details = s_priv->device_details; |
1551 | device_port = port->number - port->serial->minor; | 1550 | device_port = port->number - port->serial->minor; |
1552 | 1551 | ||
1553 | outcont_urb = d_details->outcont_endpoints[port->number]; | ||
1554 | this_urb = p_priv->outcont_urb; | 1552 | this_urb = p_priv->outcont_urb; |
1555 | 1553 | ||
1556 | dev_dbg(&port->dev, "%s - endpoint %d\n", __func__, usb_pipeendpoint(this_urb->pipe)); | 1554 | dev_dbg(&port->dev, "%s - endpoint %d\n", __func__, usb_pipeendpoint(this_urb->pipe)); |
@@ -1676,14 +1674,6 @@ static int keyspan_usa26_send_setup(struct usb_serial *serial, | |||
1676 | err = usb_submit_urb(this_urb, GFP_ATOMIC); | 1674 | err = usb_submit_urb(this_urb, GFP_ATOMIC); |
1677 | if (err != 0) | 1675 | if (err != 0) |
1678 | dev_dbg(&port->dev, "%s - usb_submit_urb(setup) failed (%d)\n", __func__, err); | 1676 | dev_dbg(&port->dev, "%s - usb_submit_urb(setup) failed (%d)\n", __func__, err); |
1679 | #if 0 | ||
1680 | else { | ||
1681 | dev_dbg(&port->dev, "%s - usb_submit_urb(%d) OK %d bytes (end %d)\n", __func__ | ||
1682 | outcont_urb, this_urb->transfer_buffer_length, | ||
1683 | usb_pipeendpoint(this_urb->pipe)); | ||
1684 | } | ||
1685 | #endif | ||
1686 | |||
1687 | return 0; | 1677 | return 0; |
1688 | } | 1678 | } |
1689 | 1679 | ||