usb: renesas_usbhs: tidyup for smatch warnings
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 18 Oct 2011 01:04:37 +0000 (18:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 18 Oct 2011 20:51:34 +0000 (13:51 -0700)
commit55b5a624a0cc5aa4b350fd50d78cf3415f795bfe
tree50c5519b09c4903a6a2c1f47cf1faa53e91ffc27
parent3a6e7119a7779866b432a3abf443243b52eaad3d
usb: renesas_usbhs: tidyup for smatch warnings

This patch tidyup below smatch complaint

drivers/usb/renesas_usbhs/mod_host.c +447 usbhsh_endpoint_free()
 warn: variable dereferenced before check 'uep' (see line 444)

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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/renesas_usbhs/mod_host.c