i2c-au1550: remove unused ack_timeout
authorManuel Lauss <manuel.lauss@googlemail.com>
Sat, 22 Oct 2011 11:34:37 +0000 (13:34 +0200)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 10:14:17 +0000 (11:14 +0100)
The ack_timeout context member is unused, get rid of it.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-au1550.c

index 70b027c..98ee11a 100644 (file)
@@ -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;