Thread (13 messages) flat view 13 messages, 5 authors, 2012-10-08

[PATCH] arch/arm/mach-davinci/board-dm646x-evm.c: Remove unecessary

From: prabhakar.csengg@gmail.com (Prabhakar Lad)
Date: 2012-09-18 16:49:43
Also in: kernel-janitors, lkml

Hi Peter,

Thanks for the patch.

On Tue, Sep 18, 2012 at 10:06 PM, Peter Senna Tschudin
[off-list ref] wrote:
Found by http://coccinelle.lip6.fr/
The commit message 'Remove unecessary' doesn't explain
what are you trying to do.

Thanks,
--Prabhakar
quoted hunk ↗ jump to hunk
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
---
 arch/arm/mach-davinci/board-dm646x-evm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c
index 958679a..1ccaace 100644
--- a/arch/arm/mach-davinci/board-dm646x-evm.c
+++ b/arch/arm/mach-davinci/board-dm646x-evm.c
@@ -193,7 +193,7 @@ static int evm_led_setup(struct i2c_client *client, int gpio,
        while (ngpio--) {
                leds->gpio = gpio++;
                leds++;
-       };
+       }

        evm_led_dev = platform_device_alloc("leds-gpio", 0);
        platform_device_add_data(evm_led_dev, &evm_led_data,
--
1.7.11.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help