Skip to contentSkip to conversation

arm: tegra: Remove unused variable 'i'

PATCH In review Ameya Palande 2 participants 3 messages Apr 15, 2011 – Apr 17, 2011 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: tegra: Remove unused variable 'i'

---
 arch/arm/mach-tegra/gpio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-tegra/gpio.c +2 -2
index 76a3f65..68069fa 100644
@@ -257,7 +257,7 @@ static void tegra_gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
 void tegra_gpio_resume(void)
 {
 	unsigned long flags;
-	int b, p, i;
+	int b, p;
 
 	local_irq_save(flags);
 
@@ -280,7 +280,7 @@ void tegra_gpio_resume(void)
 void tegra_gpio_suspend(void)
 {
 	unsigned long flags;
-	int b, p, i;
+	int b, p;
 
 	local_irq_save(flags);
 	for (b = 0; b < ARRAY_SIZE(tegra_gpio_banks); b++) {
Signature · 1 line
1.7.1

A message that is not in the archive (sent off-list or not yet received): 1302869408-7291-1-git-send-email-2ameya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

A message that is not in the archive (sent off-list or not yet received): BANLkTi=cwksVuOTbF=XGB7snVK2_uHtmKA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw

Hi Olof,

Quoted 11 lines · Olof Johansson

Hi,

Quoted 4 lines · Ameya Palande

---
 arch/arm/mach-tegra/gpio.c |    4 ++--

 1 files changed, 2 insertions(+), 2 deletions(-)

This is already upstream:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c8309ef6a4c52919d44bbc9743d7ea05ae8f4c7f

When I sent my patch it was not there in linus's tree and I didn't check what was queued for the next pull request :(

Cheers,
Ameya.