mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 22:10:24 +00:00
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>
This commit is contained in:
parent
0573d11b2b
commit
e3e7fc3c40
@ -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 = {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user