diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-14 10:12:23 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-14 10:12:23 +0000 |
commit | 4154c668f24da79672099dfac06f5263c415fee0 (patch) | |
tree | 260835bf16506bce6bc8f3837a16a352c679c486 /src/southbridge/amd/cs5536/cs5536_smbus2.h | |
parent | c264ad930a2579dc235de0c95842374e89ff5d6a (diff) |
zero warnings days. Down to under 600 different warnings
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5425 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/cs5536/cs5536_smbus2.h')
-rw-r--r-- | src/southbridge/amd/cs5536/cs5536_smbus2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/cs5536/cs5536_smbus2.h b/src/southbridge/amd/cs5536/cs5536_smbus2.h index a470b3714c..6e50a8cc84 100644 --- a/src/southbridge/amd/cs5536/cs5536_smbus2.h +++ b/src/southbridge/amd/cs5536/cs5536_smbus2.h @@ -239,9 +239,9 @@ static void _doread(unsigned smbus_io_base, unsigned char device, *data++ = val; if (count > 1) { - int ret = smbus_wait(smbus_io_base); + ret = smbus_wait(smbus_io_base); if (ret) - return ret; + return; } count--; |