commit | 2b54fa6bbef4dbc0beabcc989625204b608d062d | [log] [tgz] |
---|---|---|
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | Wed Feb 12 17:44:35 2014 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 15 12:26:14 2014 -0800 |
tree | 533d01d33fceebfd4dde0c241a003416cf7944fe | |
parent | 0f94388b27c599015b74eedf1a32126a3f5fc0f9 [diff] |
usb: dwc2: fix dereference before NULL check In a couple of places, we were checking qtd->urb for NULL after we had already dereferenced it. Fix this by moving the check to before the dereference. Signed-off-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>