瀏覽代碼

vision2: Fix checkpatch warning

Fix the following checkpatch warning:

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

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Fabio Estevam 13 年之前
父節點
當前提交
afffcc7bfa
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      board/ttcontrol/vision2/vision2.c

+ 1 - 2
board/ttcontrol/vision2/vision2.c

@@ -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);