X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fohci-q.c;h=f7d561ed3c236290aa90334b90bd52cbfa9f7632;hb=bbe179f88d39274630823a0dc07d2714fd19a103;hp=1463c398d32204cb063e1b8c72a4a57246b30b48;hpb=fbe1d5b00daabfa5313685c87ac8632a77aeb31d;p=pandora-kernel.git diff --git a/drivers/usb/host/ohci-q.c b/drivers/usb/host/ohci-q.c index 1463c398d322..f7d561ed3c23 100644 --- a/drivers/usb/host/ohci-q.c +++ b/drivers/usb/host/ohci-q.c @@ -407,7 +407,8 @@ static struct ed *ed_get ( spin_lock_irqsave (&ohci->lock, flags); - if (!(ed = ep->hcpriv)) { + ed = ep->hcpriv; + if (!ed) { struct td *td; int is_out; u32 info;