Skip to content

Commit

Permalink
i2c-algo-pcf: Drop unused struct members
Browse files Browse the repository at this point in the history
Struct members udelay and timeout aren't used anywhere, so drop them.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Eric Brower <ebrower@gmail.com>
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Jul 14, 2008
1 parent 0573d11 commit e3e7fc3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions drivers/i2c/busses/i2c-elektor.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ static struct i2c_algo_pcf_data pcf_isa_data = {
.getown = pcf_isa_getown,
.getclock = pcf_isa_getclock,
.waitforpin = pcf_isa_waitforpin,
.udelay = 10,
.timeout = 100,
};

static struct i2c_adapter pcf_isa_ops = {
Expand Down
4 changes: 0 additions & 4 deletions include/linux/i2c-algo-pcf.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ struct i2c_algo_pcf_data {
int (*getclock) (void *data);
void (*waitforpin) (void);

/* local settings */
int udelay;
int timeout;

/* Multi-master lost arbitration back-off delay (msecs)
* This should be set by the bus adapter or knowledgable client
* if bus is multi-mastered, else zero
Expand Down

0 comments on commit e3e7fc3

Please sign in to comment.