]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fsl_usb2_udc: Remove check for udc == NULL in dr_controller_setup.
authorWill Newton <will.newton@imgtec.com>
Tue, 12 Aug 2008 14:39:08 +0000 (15:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:41:05 +0000 (14:41 -0700)
commitf6e4411fe7df19493e3a2fbc2543f718f75671f6
tree7b4a0955262b750cf58875b59b843dafbdd50817
parent9c94155ea03e85aed66b6822477ea99f8681a3f1
fsl_usb2_udc: Remove check for udc == NULL in dr_controller_setup.

Remove check for udc == NULL in dr_controller_setup. All callers of
this function have already dereferenced udc at some point.

Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/fsl_usb2_udc.c