Commit e3e7fc3c401a5d53f0599a357b3cf65d6a4f52e3

Authored by Jean Delvare
Committed by Jean Delvare
1 parent 0573d11b2b

i2c-algo-pcf: Drop unused struct members

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>

Showing 2 changed files with 0 additions and 6 deletions Side-by-side Diff

drivers/i2c/busses/i2c-elektor.c
... ... @@ -196,8 +196,6 @@
196 196 .getown = pcf_isa_getown,
197 197 .getclock = pcf_isa_getclock,
198 198 .waitforpin = pcf_isa_waitforpin,
199   - .udelay = 10,
200   - .timeout = 100,
201 199 };
202 200  
203 201 static struct i2c_adapter pcf_isa_ops = {
include/linux/i2c-algo-pcf.h
... ... @@ -33,10 +33,6 @@
33 33 int (*getclock) (void *data);
34 34 void (*waitforpin) (void);
35 35  
36   - /* local settings */
37   - int udelay;
38   - int timeout;
39   -
40 36 /* Multi-master lost arbitration back-off delay (msecs)
41 37 * This should be set by the bus adapter or knowledgable client
42 38 * if bus is multi-mastered, else zero