]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
i2c-algo-pcf: Drop unused struct members
authorJean Delvare <khali@linux-fr.org>
Mon, 14 Jul 2008 20:38:31 +0000 (22:38 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Mon, 14 Jul 2008 20:38:31 +0000 (22:38 +0200)
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>
drivers/i2c/busses/i2c-elektor.c
include/linux/i2c-algo-pcf.h

index c251cf21a62b3b25f57492e2a2cfa976bc2e3bd6..7f38c01fb3a06ce83753f4d411cde7f907f91086 100644 (file)
@@ -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 = {
index 74fb6f889a775bfca176e979f0d2c187b536bc06..0177d280f733df0837f7635b6413b2ff0a23202a 100644 (file)
@@ -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