GPU DRM: Remove unnecessary casts of void ptr returning alloc function return values
authorJesper Juhl <jj@chaosbits.net>
Mon, 8 Nov 2010 23:08:25 +0000 (00:08 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 19 Jan 2011 14:24:49 +0000 (15:24 +0100)
commit288db88216081bed4761ad0924527a9ca54025e9
treedee9dc3e12370ebd236b85a3a3b04e3bfd5700fd
parentc5e0591ae3a13adfe2d6d685ba9cc6d84d0e58df
GPU DRM: Remove unnecessary casts of void ptr returning alloc function return values

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/gpu/drm/

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/gpu/drm/drm_sman.c