Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3e7fc3c authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

i2c-algo-pcf: Drop unused struct members



Struct members udelay and timeout aren't used anywhere, so drop them.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarEric Brower <ebrower@gmail.com>
parent 0573d11b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 = {
+0 −4
Original line number Diff line number Diff line
@@ -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