1 Index: linux-2.6.24/drivers/usb/host/adm5120-q.c
2 ===================================================================
3 --- linux-2.6.24.orig/drivers/usb/host/adm5120-q.c
4 +++ linux-2.6.24/drivers/usb/host/adm5120-q.c
5 @@ -28,25 +28,10 @@ __releases(ahcd->lock)
8 urb_priv_free(ahcd, urb->hcpriv);
11 spin_lock(&urb->lock);
12 if (likely(urb->status == -EINPROGRESS))
15 - /* report short control reads right even though the data TD always
16 - * has TD_R set. (much simpler, but creates the 1-td limit.)
18 - if (unlikely(urb->transfer_flags & URB_SHORT_NOT_OK)
19 - && unlikely(usb_pipecontrol(urb->pipe))
20 - && urb->actual_length < urb->transfer_buffer_length
21 - && usb_pipein(urb->pipe)
22 - && urb->status == 0) {
23 - urb->status = -EREMOTEIO;
24 -#ifdef ADMHC_VERBOSE_DEBUG
25 - urb_print(ahcd, urb, "SHORT", usb_pipeout(urb->pipe));
28 spin_unlock(&urb->lock);
30 switch (usb_pipetype(urb->pipe)) {