[PATCH] ARM: EXYNOS: Remove unused variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes following compilation warnings.

arch/arm/mach-exynos/common.c: In function ‘exynos5_init_irq’:
arch/arm/mach-exynos/common.c:661:6: warning: unused variable
‘irq’ [-Wunused-variable]
arch/arm/mach-exynos/common.c: In function ‘exynos_init_irq_eint’:
arch/arm/mach-exynos/common.c:1046:15: warning: unused variable
‘paddr’ [-Wunused-variable]

Signed-off-by: Tushar Behera <tushar.behera@xxxxxxxxxx>
---
 arch/arm/mach-exynos/common.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index 9027f55..ef4f1b0 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -658,7 +658,6 @@ void __init exynos4_init_irq(void)
 
 void __init exynos5_init_irq(void)
 {
-	int irq;
 	struct device_node *np;
 
 #ifdef CONFIG_OF
@@ -1043,7 +1042,6 @@ static int __init exynos_init_irq_eint(struct device_node *np,
 					struct device_node *parent)
 {
 	int irq, *src_int, irq_base, irq_eint;
-	unsigned int paddr;
 
 #ifdef CONFIG_PINCTRL_SAMSUNG
 	/*
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux