From: KONRAD Frederic <fred.kon...@greensocs.com> The dev field in i2cbus is not used. So just drop it.
Signed-off-by: KONRAD Frederic <fred.kon...@greensocs.com> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Reviewed-by: Peter Crosthwaite <crosthwaite.pe...@gmail.com> Tested-By: Hyun Kwon <hyun.k...@xilinx.com> --- hw/i2c/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/i2c/core.c b/hw/i2c/core.c index 5a64026..e0f92de 100644 --- a/hw/i2c/core.c +++ b/hw/i2c/core.c @@ -13,7 +13,6 @@ struct I2CBus { BusState qbus; I2CSlave *current_dev; - I2CSlave *dev; uint8_t saved_address; }; -- 1.9.0