diff mbox

ARM: EXYNOS: Remove unused variables

Message ID 1353387812-20001-1-git-send-email-tushar.behera@linaro.org
State Not Applicable
Headers show

Commit Message

Tushar Behera Nov. 20, 2012, 5:03 a.m. UTC
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@linaro.org>
---
 arch/arm/mach-exynos/common.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Comments

Tushar Behera Nov. 20, 2012, 5:28 a.m. UTC | #1
On 11/20/2012 10:33 AM, Tushar Behera wrote:
> 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@linaro.org>
> ---
>  arch/arm/mach-exynos/common.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
Please ignore this patch. It was based on some other patchset which is
not yet in mainline.

Apologies.
Kukjin Kim Nov. 20, 2012, 9:18 a.m. UTC | #2
Tushar Behera wrote:
> 
> On 11/20/2012 10:33 AM, Tushar Behera wrote:
> > 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@linaro.org>
> > ---
> >  arch/arm/mach-exynos/common.c |    2 --
> >  1 files changed, 0 insertions(+), 2 deletions(-)
> >
> Please ignore this patch. It was based on some other patchset which is
> not yet in mainline.
> 
OK.

> Apologies.
> 
No prob.

K-Gene <kgene@kernel.org>
diff mbox

Patch

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
 	/*