]> git.karo-electronics.de Git - mv-sheeva.git/commit
USB: Remove unnecessary casts of void ptr returning alloc function return values
authorJesper Juhl <jj@chaosbits.net>
Mon, 8 Nov 2010 23:10:52 +0000 (00:10 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Dec 2010 00:44:57 +0000 (16:44 -0800)
commit73f35c60d5c4a98061fc0f94505bf26fd4bb1a1c
tree61f39b5b09b7a58029c61615480b0435719bf40a
parentb17ea167c5fb50dcd5dce5b874a467f04eec886d
USB: Remove unnecessary casts of void ptr returning alloc function return values

Hi,

The [vk][cmz]alloc(_node) family of functions return void pointers which
it's completely unnecessary/pointless to cast to other pointer types since
that happens implicitly.

This patch removes such casts from drivers/usb/

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
drivers/usb/host/ehci-dbg.c