]> git.baikalelectronics.ru Git - uboot.git/commit
gw_ventana: Fix unused variable warnings
authorTom Rini <trini@konsulko.com>
Tue, 9 May 2017 02:14:25 +0000 (22:14 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:26 +0000 (08:37 -0400)
commit1d68f7eca3d05c02eb8d294aa66dd293ede95e11
treef8b0bb686e74175785ae7b186666830a660f9361
parent7347374b961d58f1d3c6c9493d8fd4c1d3fe50a4
gw_ventana: Fix unused variable warnings

The variable nfc_pads is only referenced when CONFIG_CMD_NAND is set,
move the existing guard and drop a now redundant comment.  The variable
gwproto_gpio_pads is never referenced, remove it.

Cc: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/gateworks/gw_ventana/common.c
board/gateworks/gw_ventana/gw_ventana.c