Commit 1a1278da5ccef255075c03dccc567d46e162c674

Authored by Axel Lin
Committed by Linus Torvalds
1 parent 99ad98d259

drivers/leds/leds-pca9633.c: remove unused 'adapter' variable

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Peter Meerwald <p.meerwald@bct-electronic.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

drivers/leds/leds-pca9633.c
... ... @@ -96,11 +96,9 @@
96 96 const struct i2c_device_id *id)
97 97 {
98 98 struct pca9633_led *pca9633;
99   - struct i2c_adapter *adapter;
100 99 struct led_platform_data *pdata;
101 100 int i, err;
102 101  
103   - adapter = to_i2c_adapter(client->dev.parent);
104 102 pdata = client->dev.platform_data;
105 103  
106 104 if (pdata) {