Skip to contentSkip to conversation

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

PATCH New Axel Lin 1 participant 1 message Feb 8, 2012 LED

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

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

---
 drivers/leds/leds-pca9633.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/leds/leds-pca9633.c +0 -2
index c408ddc..02889bb 100644
@@ -96,11 +96,9 @@ static int __devinit pca9633_probe(struct i2c_client *client,
 					const struct i2c_device_id *id)
 {
 	struct pca9633_led *pca9633;
-	struct i2c_adapter *adapter;
 	struct led_platform_data *pdata;
 	int i, err;
 
-	adapter = to_i2c_adapter(client->dev.parent);
 	pdata = client->dev.platform_data;
 
 	if (pdata) {
Signature · 1 line
1.7.5.4