John Zhao uploaded patch set #3 to this change.

View Change

Fix control flow DEADCODE issue

Coverity detects DEADCODE issue in the control flow. Based on both of
KEMPLD_CLK and KEMPLD_I2C_FREQ_STD definitions, execution cannot reach
this statement "prescale = 0". This change removes this DEADCODE.

Found-by: Coverity CID 1431154
TEST=None

Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: Ic002e708636961358969b2c1eaec0fee5bbcb73a
---
M src/ec/kontron/kempld/kempld_i2c.c
1 file changed, 0 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/45623/3

To view, visit change 45623. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic002e708636961358969b2c1eaec0fee5bbcb73a
Gerrit-Change-Number: 45623
Gerrit-PatchSet: 3
Gerrit-Owner: John Zhao <john.zhao@intel.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset