usb: renesas_usbhs: tidyup for smatch warnings
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 15 Dec 2011 09:53:18 +0000 (01:53 -0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 15 Dec 2011 10:59:17 +0000 (12:59 +0200)
commitd9b78f33d9c1b699b66f10ad2329487f813c4642
treecfbd966e535a63e5965b8ced3d683d3e164ad47e
parent15a3838b101b292c2e40824d843a4d8871ac4010
usb: renesas_usbhs: tidyup for smatch warnings

This patch tidyup below smatch complaint

drivers/usb/renesas_usbhs/mod_host.c +642 usbhsh_queue_done()
 warn: variable dereferenced before check 'urb' (see line 636)

Special thanks to Dan

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/mod_host.c