diff options
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | 2014-02-12 17:44:35 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-15 12:26:14 -0800 |
commit | 2b54fa6bbef4dbc0beabcc989625204b608d062d (patch) | |
tree | 533d01d33fceebfd4dde0c241a003416cf7944fe /drivers/hid/hid-core.c | |
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>
Diffstat (limited to 'drivers/hid/hid-core.c')
0 files changed, 0 insertions, 0 deletions