diff options
author | David Brown <davidb@codeaurora.org> | 2010-11-12 16:49:52 -0500 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-11-16 15:25:38 -0500 |
commit | d2c5d2145f127fffb7498bee943a480de66910ff (patch) | |
tree | 65b8eb1ff6bcd3c14e5267075a2b791ced68bfaf /arch/arm/mach-msm | |
parent | 5d1394bb6b781df8148565783b0671f9b11500b7 (diff) |
msm: smd: ifdef adjustment to remove unused variables
Put some variables inside of the same ifdef as the code that uses
them.
arch/arm/mach-msm/smd_debug.c: In function 'smsm_print_sleep_info':
arch/arm/mach-msm/smd_debug.c:274: warning: unused variable 'int_info'
arch/arm/mach-msm/smd_debug.c:273: warning: unused variable 'gpio'
Signed-off-by: David Brown <davidb@codeaurora.org>
[dwalker@codeaurora.org: changed the commit text a little.]
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/smd_debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/smd_debug.c b/arch/arm/mach-msm/smd_debug.c index f91c3b7bc655..8736afff82f3 100644 --- a/arch/arm/mach-msm/smd_debug.c +++ b/arch/arm/mach-msm/smd_debug.c | |||
@@ -270,8 +270,10 @@ void smsm_print_sleep_info(void) | |||
270 | { | 270 | { |
271 | unsigned long flags; | 271 | unsigned long flags; |
272 | uint32_t *ptr; | 272 | uint32_t *ptr; |
273 | #ifndef CONFIG_ARCH_MSM_SCORPION | ||
273 | struct tramp_gpio_smem *gpio; | 274 | struct tramp_gpio_smem *gpio; |
274 | struct smsm_interrupt_info *int_info; | 275 | struct smsm_interrupt_info *int_info; |
276 | #endif | ||
275 | 277 | ||
276 | 278 | ||
277 | spin_lock_irqsave(&smem_lock, flags); | 279 | spin_lock_irqsave(&smem_lock, flags); |