diff options
author | 2010-11-09 00:08:11 +0100 | |
---|---|---|
committer | 2010-11-10 09:13:00 +0100 | |
commit | 8e5e9521c13ff8cf6727999999c8d88cc64b5ff7 (patch) | |
tree | c9bd89f5f7536561d561c1c8c6e3033a0b4a499e /kernel/sysctl.c | |
parent | x86: Address gcc4.6 "set but not used" warnings in apic.h (diff) | |
download | linux-dev-8e5e9521c13ff8cf6727999999c8d88cc64b5ff7.tar.xz linux-dev-8e5e9521c13ff8cf6727999999c8d88cc64b5ff7.zip |
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 <jj@chaosbits.net>
Cc: trivial@kernel.org
Cc: amd64-microcode@amd64.org
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <alpine.LNX.2.00.1011082310220.23697@swampdragon.chaosbits.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions