[U-Boot] [PATCH 03/17] ot1200: Fix unused variable warning

Tom Rini trini at konsulko.com
Tue May 9 02:14:21 UTC 2017


The variable pwm_pad is never referenced, drop.

Cc: Christian Gmeiner <christian.gmeiner at gmail.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 board/bachmann/ot1200/ot1200.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/board/bachmann/ot1200/ot1200.c b/board/bachmann/ot1200/ot1200.c
index eeced7943ed4..c0a8b6423ee1 100644
--- a/board/bachmann/ot1200/ot1200.c
+++ b/board/bachmann/ot1200/ot1200.c
@@ -273,10 +273,6 @@ int board_mmc_init(bd_t *bis)
 	return 0;
 }
 
-static iomux_v3_cfg_t const pwm_pad[] = {
-	MX6_PAD_SD1_CMD__PWM4_OUT | MUX_PAD_CTRL(OUTPUT_40OHM),
-};
-
 static void leds_on(void)
 {
 	/* turn on all possible leds connected via GPIO expander */
-- 
1.9.1



More information about the U-Boot mailing list