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)
commit0f160f66d829cd720457dd1ca1fed87e4177d61d
tree978745251ccd83107d5b3f874542fd6853f18050
parent9ba8b9bdd7caa9c8821b10a6ecbb98c792905ec5
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