diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-08-27 05:46:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 18:38:51 -0400 |
commit | a0d9c63d3640bd4fc90a408e8334754ef44bcf48 (patch) | |
tree | 6f34994fa1d325467453e2cc4d552b82eac7ce3f /drivers/i2c/busses/i2c-prosavage.c | |
parent | 8241cb1401873e18bba746fd3f6c56ce4252a61f (diff) |
i2c-algo-bit: Discard the mdelay data struct member
i2c-algo-bit: Discard the mdelay data struct member
The i2c_algo_bit_data structure has an mdelay member, which is not
used by the algorithm code (the code has always been ifdef'd out.)
Let's discard it to save some code and memory.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-prosavage.c')
-rw-r--r-- | drivers/i2c/busses/i2c-prosavage.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-prosavage.c b/drivers/i2c/busses/i2c-prosavage.c index 9479525892e3..7745e21874a8 100644 --- a/drivers/i2c/busses/i2c-prosavage.c +++ b/drivers/i2c/busses/i2c-prosavage.c | |||
@@ -180,7 +180,6 @@ static int i2c_register_bus(struct pci_dev *dev, struct s_i2c_bus *p, void __iom | |||
180 | p->algo.getsda = bit_s3via_getsda; | 180 | p->algo.getsda = bit_s3via_getsda; |
181 | p->algo.getscl = bit_s3via_getscl; | 181 | p->algo.getscl = bit_s3via_getscl; |
182 | p->algo.udelay = CYCLE_DELAY; | 182 | p->algo.udelay = CYCLE_DELAY; |
183 | p->algo.mdelay = CYCLE_DELAY; | ||
184 | p->algo.timeout = TIMEOUT; | 183 | p->algo.timeout = TIMEOUT; |
185 | p->algo.data = p; | 184 | p->algo.data = p; |
186 | p->mmvga = mmvga; | 185 | p->mmvga = mmvga; |