From: Paul Zimmerman Date: Thu, 13 Feb 2014 01:44:35 +0000 (-0800) Subject: usb: dwc2: fix dereference before NULL check X-Git-Tag: v3.15-rc1~137^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b54fa6bbef4dbc0beabcc989625204b608d062d;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed