post: Fix unused variable warning on lwmon5
authorTom Rini <trini@konsulko.com>
Fri, 16 Jun 2017 17:06:27 +0000 (13:06 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jun 2017 14:38:05 +0000 (10:38 -0400)
commitd62b247d299cb80df4b51534e923762e5a8ec576
tree5528a0eee61def35f27b7f08bb97dcc4962fd2bf
parent3a97763aab781196bcc34e6fbc3eb81c12ccf2eb
post: Fix unused variable warning on lwmon5

The variable syndrome_codes is only used when DEBUG is define, add #if
guards around it in the same style as the rest of the file.

Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
post/cpu/ppc4xx/denali_ecc.c