fsl: sys_eeprom: Fix 'may be used uninitialized' warning
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 1 Sep 2009 22:17:24 +0000 (02:17 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 8 Sep 2009 14:10:03 +0000 (09:10 -0500)
commit9c671e7062720074f894ee329eaa6995b0823727
treee6dd184bcee079ee4ef927f00aeec5e530de91db
parent6b9ea08c5010eab5ad1056bc9bf033afb672d9cc
fsl: sys_eeprom: Fix 'may be used uninitialized' warning

The warning is bogus, so silence it by initializing the 'ret' variable.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/common/sys_eeprom.c