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

The variables prg_stage2_prepare, prg_stage2_success and prg_stage_fail
are only referenced when CCDM_SECOND_STAGE is set, move these to be by
the existing guard.

Cc: Dirk Eibach <eibach@gdsys.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/gdsys/p1022/controlcenterd-id.c