diff options
Diffstat (limited to 'drivers/usb/host/ehci-sched.c')
-rw-r--r-- | drivers/usb/host/ehci-sched.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index b3bd1c6dc61f..1543c838b3d1 100644 --- a/drivers/usb/host/ehci-sched.c +++ b/drivers/usb/host/ehci-sched.c | |||
@@ -1048,8 +1048,6 @@ iso_stream_put(struct ehci_hcd *ehci, struct ehci_iso_stream *stream) | |||
1048 | * not like a QH -- no persistent state (toggle, halt) | 1048 | * not like a QH -- no persistent state (toggle, halt) |
1049 | */ | 1049 | */ |
1050 | if (stream->refcount == 1) { | 1050 | if (stream->refcount == 1) { |
1051 | int is_in; | ||
1052 | |||
1053 | // BUG_ON (!list_empty(&stream->td_list)); | 1051 | // BUG_ON (!list_empty(&stream->td_list)); |
1054 | 1052 | ||
1055 | while (!list_empty (&stream->free_list)) { | 1053 | while (!list_empty (&stream->free_list)) { |
@@ -1076,7 +1074,6 @@ iso_stream_put(struct ehci_hcd *ehci, struct ehci_iso_stream *stream) | |||
1076 | } | 1074 | } |
1077 | } | 1075 | } |
1078 | 1076 | ||
1079 | is_in = (stream->bEndpointAddress & USB_DIR_IN) ? 0x10 : 0; | ||
1080 | stream->bEndpointAddress &= 0x0f; | 1077 | stream->bEndpointAddress &= 0x0f; |
1081 | if (stream->ep) | 1078 | if (stream->ep) |
1082 | stream->ep->hcpriv = NULL; | 1079 | stream->ep->hcpriv = NULL; |