diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2016-06-14 15:59:14 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-06-14 15:59:14 +0100 |
commit | a9d2f1d45f351e334ca4fdf1fa96328930082a8b (patch) | |
tree | 954f59a64fb35c63d1d663afe7fc4aaa10ee2d6b /hw/i2c | |
parent | 0d554cb04386c0b28102c257602fa4bf3e1e3230 (diff) |
i2cbus: remove unused dev field
The dev field in i2cbus is not used.
So just drop it.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Tested-By: Hyun Kwon <hyun.kwon@xilinx.com>
Message-id: 1465833014-21982-2-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c')
-rw-r--r-- | hw/i2c/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; }; |