USB: uhci: rm repeatedly evaluation for urbp->qh
authorBob Liu <yjfpb04@gmail.com>
Tue, 28 Jul 2009 14:31:06 +0000 (22:31 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:30 +0000 (06:46 -0700)
Signed-off-by: Bob Liu <yjfpb04@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-q.c

index 64e57bfe236ba89019c0884432cb44e9f2d72fd8..acd582c0280203910bdfbdb0acb8c4120ec5353d 100644 (file)
@@ -1422,7 +1422,6 @@ static int uhci_urb_enqueue(struct usb_hcd *hcd,
                goto err_submit_failed;
 
        /* Add this URB to the QH */
-       urbp->qh = qh;
        list_add_tail(&urbp->node, &qh->queue);
 
        /* If the new URB is the first and only one on this QH then either