board/esd/common/auto_update.c: fix Uninitialized variable
authorWolfgang Denk <wd@denx.de>
Thu, 6 Nov 2014 13:03:05 +0000 (14:03 +0100)
committerTom Rini <trini@ti.com>
Mon, 10 Nov 2014 21:25:27 +0000 (16:25 -0500)
commit6c5f4aef02ae76357a5d85303c9890619aad0293
tree233b1202e13e3b58798ff1b7ab1b0f6d4999ec33
parentfeb8cf4a1bc9e1d534d4b2e8ad6d3ee9f5384942
board/esd/common/auto_update.c: fix Uninitialized variable

cppcheck reports:

[board/esd/common/auto_update.c:458]: (error) Uninitialized variable: cnt

The variable is not really used anywhere, so remove it.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
board/esd/common/auto_update.c