summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-q.c
diff options
context:
space:
mode:
authorBob Liu2009-07-28 16:31:06 +0200
committerGreg Kroah-Hartman2009-09-23 15:46:30 +0200
commitc0ad7291aae3f76920bdddbc517e20b8d4338ec2 (patch)
tree01819bee78692be4613b2313b396e369af990869 /drivers/usb/host/uhci-q.c
parentUSB: usbtmc: fix printk format warnings (diff)
downloadkernel-qcow2-linux-c0ad7291aae3f76920bdddbc517e20b8d4338ec2.tar.gz
kernel-qcow2-linux-c0ad7291aae3f76920bdddbc517e20b8d4338ec2.tar.xz
kernel-qcow2-linux-c0ad7291aae3f76920bdddbc517e20b8d4338ec2.zip
USB: uhci: rm repeatedly evaluation for urbp->qh
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>
Diffstat (limited to 'drivers/usb/host/uhci-q.c')
-rw-r--r--drivers/usb/host/uhci-q.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-q.c b/drivers/usb/host/uhci-q.c
index 64e57bfe236b..acd582c02802 100644
--- a/drivers/usb/host/uhci-q.c
+++ b/drivers/usb/host/uhci-q.c
@@ -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