Message ID | 1445002914-7351-2-git-send-email-fred.konrad@greensocs.com |
---|---|
State | New |
Headers | show |
On Fri, Oct 16, 2015 at 6:41 AM, <fred.konrad@greensocs.com> wrote: > From: KONRAD Frederic <fred.konrad@greensocs.com> > > 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> > Tested-By: Hyun Kwon <hyun.kwon@xilinx.com> Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.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 >
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; };