From: Steven Miao Date: Thu, 14 Nov 2013 09:41:30 +0000 (+0800) Subject: blackfin: fix build warning for unused variable X-Git-Tag: firefly_0821_release~176^2~4957^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=36855dcfc980f247909b8f63776664c6ccb6f183;p=firefly-linux-kernel-4.4.55.git blackfin: fix build warning for unused variable Signed-off-by: Steven Miao --- diff --git a/arch/blackfin/mach-common/pm.c b/arch/blackfin/mach-common/pm.c index 4319568029fb..1387a94bcfd5 100644 --- a/arch/blackfin/mach-common/pm.c +++ b/arch/blackfin/mach-common/pm.c @@ -141,7 +141,10 @@ static void flushinv_all_dcache(void) int bfin_pm_suspend_mem_enter(void) { - int wakeup, ret; + int ret; +#ifndef CONFIG_BF60x + int wakeup; +#endif unsigned char *memptr = kmalloc(L1_CODE_LENGTH + L1_DATA_A_LENGTH + L1_DATA_B_LENGTH + L1_SCRATCH_LENGTH,