diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-01-04 09:44:42 +0300 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-01-04 09:44:42 +0300 |
commit | 0dfc84c9f54d8784f5bc6d303c079d88000ee5f7 (patch) | |
tree | c428a96e19f291d8f52e893ced78f99c2754a416 /arch | |
parent | 2d51a521e64f91e42424b291fcae49d4d3f63d88 (diff) | |
download | linux-0dfc84c9f54d8784f5bc6d303c079d88000ee5f7.tar.xz |
[ARM] pxa: fix compiler warnings of unused variable 'id' in cpu_is_pxa9*()
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/hardware.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h index 50f1297bf5ac..e741bf1bfb2d 100644 --- a/arch/arm/mach-pxa/include/mach/hardware.h +++ b/arch/arm/mach-pxa/include/mach/hardware.h @@ -250,20 +250,17 @@ #define cpu_is_pxa930() \ ({ \ - unsigned int id = read_cpuid(CPUID_ID); \ - __cpu_is_pxa930(id); \ + __cpu_is_pxa930(read_cpuid_id()); \ }) #define cpu_is_pxa935() \ ({ \ - unsigned int id = read_cpuid(CPUID_ID); \ - __cpu_is_pxa935(id); \ + __cpu_is_pxa935(read_cpuid_id()); \ }) #define cpu_is_pxa950() \ ({ \ - unsigned int id = read_cpuid(CPUID_ID); \ - __cpu_is_pxa950(id); \ + __cpu_is_pxa950(read_cpuid_id()); \ }) |