Skip to content

Commit

Permalink
i2c-algo-pcf: Discard the mdelay data struct member
Browse files Browse the repository at this point in the history
i2c-algo-pcf: Discard the mdelay data struct member

Just as i2c-algo-bit, i2c-algo-pcf has an unused mdelay struct member,
which we can get rid of to spare some code and memory.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Adrian Bunk authored and Greg Kroah-Hartman committed Sep 26, 2006
1 parent 7b288a0 commit 9b4ccb8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-elektor.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ static struct i2c_algo_pcf_data pcf_isa_data = {
.getclock = pcf_isa_getclock,
.waitforpin = pcf_isa_waitforpin,
.udelay = 10,
.mdelay = 10,
.timeout = 100,
};

Expand Down
1 change: 0 additions & 1 deletion include/linux/i2c-algo-pcf.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ struct i2c_algo_pcf_data {

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

Expand Down

0 comments on commit 9b4ccb8

Please sign in to comment.