提交 85ea2569 编写于 作者: M Manuel Lauss 提交者: Ben Dooks

i2c-au1550: remove unused ack_timeout

The ack_timeout context member is unused, get rid of it.
Signed-off-by: NManuel Lauss <manuel.lauss@googlemail.com>
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 c5de6467
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册