]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fsl_usb2_udc: Fix some sparse warnings and remove redundant code.
authorWill Newton <will.newton@imgtec.com>
Tue, 12 Aug 2008 14:39:09 +0000 (15:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:41:05 +0000 (14:41 -0700)
commit7483cff8a3ea4c31a677a6ac1a4eb3d78adcb9cc
tree62bf2de9cde28cf0c040b7995fa583285a5a3931
parentf6e4411fe7df19493e3a2fbc2543f718f75671f6
fsl_usb2_udc: Fix some sparse warnings and remove redundant code.

Fix some sparse "integer used as NULL pointer" warnings.
Remove some unnecessary volatiles and static initialization.
Remove some unused struct members and reorder to improve packing.
Remove a few unneeded includes.

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
drivers/usb/gadget/fsl_usb2_udc.h