diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-04-30 15:00:32 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-10-04 16:59:51 +0200 |
commit | 9e0e4e11623e57c0f6635f5dc6972244ce511f77 (patch) | |
tree | 695428b6b4f70457aad8e6cf5aa8fd02d6f48aa8 /arch/arm/mach-s3c24xx | |
parent | ARM: at91: skip at91_io_desc definition for NOMMU (diff) | |
download | linux-9e0e4e11623e57c0f6635f5dc6972244ce511f77.tar.xz linux-9e0e4e11623e57c0f6635f5dc6972244ce511f77.zip |
ARM: at91: unused variable in at91_pm_verify_clocks
The code using the variable 'i' in this function is conditional which
results in a harmless compiler warning. Using the IS_ENABLED macro
instead of #ifdef makes the code look nicer and gets rid of the
warning.
Without this patch, building at91sam9263_defconfig results in:
/home/arnd/linux-arm/arch/arm/mach-at91/pm.c: In function 'at91_pm_verify_clocks':
/home/arnd/linux-arm/arch/arm/mach-at91/pm.c:137:6: warning: unused variable 'i' [-Wunused-variable]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx')
0 files changed, 0 insertions, 0 deletions