Skip to content

Commit

Permalink
i2c-au1550: remove unused ack_timeout
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manuel Lauss authored and Ben Dooks committed Oct 29, 2011
1 parent c5de646 commit 85ea256
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/i2c/busses/i2c-au1550.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 85ea256

Please sign in to comment.