From: Jesper Juhl Date: Mon, 8 Nov 2010 23:08:11 +0000 (+0100) Subject: x86: Remove unnecessary casts of void ptr returning alloc function return values X-Git-Tag: v2.6.37-rc2~31^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e5e9521c13ff8cf6727999999c8d88cc64b5ff7;p=pandora-kernel.git x86: 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 arch/x86. Signed-off-by: Jesper Juhl Cc: trivial@kernel.org Cc: amd64-microcode@amd64.org Cc: Andreas Herrmann LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed