]> git.sur5r.net Git - u-boot/commitdiff
vision2: Fix checkpatch warning
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 21 Nov 2011 05:57:39 +0000 (05:57 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 24 Dec 2011 09:23:29 +0000 (10:23 +0100)
Fix the following checkpatch warning:

WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/ttcontrol/vision2/vision2.c

index f556d308e329c63ad8ec0c3d07072e72b3052abf..282de95e951742bc25b83c9d4c48c62ec7ca5d51 100644 (file)
@@ -428,9 +428,8 @@ static void setup_gpios(void)
        gpio_direction_output(4, 1);
 
        gpio_direction_output(7, 0);
-       for (i = 65; i < 71; i++) {
+       for (i = 65; i < 71; i++)
                gpio_direction_output(i, 0);
-       }
 
        gpio_direction_output(94, 0);