diff options
Diffstat (limited to 'kernel/drivers/usb/host/ohci-q.c')
-rw-r--r-- | kernel/drivers/usb/host/ohci-q.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/usb/host/ohci-q.c b/kernel/drivers/usb/host/ohci-q.c index fe1d5fc7d..d029bbe9e 100644 --- a/kernel/drivers/usb/host/ohci-q.c +++ b/kernel/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; |