From: Manuel Lauss Date: Sat, 22 Oct 2011 11:34:37 +0000 (+0200) Subject: i2c-au1550: remove unused ack_timeout X-Git-Tag: firefly_0821_release~3680^2~4244^2~2^5~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=85ea25698843d37b6f79927b2995644623fe1e06;p=firefly-linux-kernel-4.4.55.git i2c-au1550: remove unused ack_timeout The ack_timeout context member is unused, get rid of it. Signed-off-by: Manuel Lauss Signed-off-by: Ben Dooks --- diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c index 70b027c9037d..98ee11aa9e2c 100644 --- a/drivers/i2c/busses/i2c-au1550.c +++ b/drivers/i2c/busses/i2c-au1550.c @@ -52,7 +52,6 @@ struct i2c_au1550_data { void __iomem *psc_base; int xfer_timeout; - int ack_timeout; struct i2c_adapter adap; struct resource *ioarea; }; @@ -346,7 +345,6 @@ i2c_au1550_probe(struct platform_device *pdev) goto out_map; } priv->xfer_timeout = 200; - priv->ack_timeout = 200; priv->adap.nr = pdev->id; priv->adap.algo = &au1550_algo;