HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32912
Change subject: soc/intel/quark: Remove variable set but not used ......................................................................
soc/intel/quark: Remove variable set but not used
Change-Id: I09292c2776309982cfb4d72012991bf7725b75fb Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/soc/intel/quark/i2c.c 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/32912/1
diff --git a/src/soc/intel/quark/i2c.c b/src/soc/intel/quark/i2c.c index 595c818..49ebaa2 100644 --- a/src/soc/intel/quark/i2c.c +++ b/src/soc/intel/quark/i2c.c @@ -117,7 +117,6 @@ int bytes_transferred; uint32_t cmd; int fifo_bytes; - uint8_t junk; I2C_REGS *regs; uint32_t status;
@@ -128,7 +127,7 @@ /* Empty the FIFO */ status = regs->ic_status; while (status & IC_STATUS_RFNE) { - junk = (uint8_t)regs->ic_data_cmd; + (uint8_t)regs->ic_data_cmd; status = regs->ic_status; }