From a9d2f1d45f351e334ca4fdf1fa96328930082a8b Mon Sep 17 00:00:00 2001 From: KONRAD Frederic Date: Tue, 14 Jun 2016 15:59:14 +0100 Subject: i2cbus: remove unused dev field The dev field in i2cbus is not used. So just drop it. Signed-off-by: KONRAD Frederic Reviewed-by: Alistair Francis Reviewed-by: Peter Crosthwaite Tested-By: Hyun Kwon Message-id: 1465833014-21982-2-git-send-email-fred.konrad@greensocs.com Signed-off-by: Peter Maydell --- hw/i2c/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/i2c/core.c b/hw/i2c/core.c index ba22104af8..013ff68593 100644 --- a/hw/i2c/core.c +++ b/hw/i2c/core.c @@ -14,7 +14,6 @@ struct I2CBus { BusState qbus; I2CSlave *current_dev; - I2CSlave *dev; uint8_t saved_address; }; -- cgit v1.2.3