From: Axel Lin Date: Fri, 23 Mar 2012 22:02:13 +0000 (-0700) Subject: drivers/leds/leds-pca9633.c: remove unused 'adapter' variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1a1278da5ccef255075c03dccc567d46e162c674;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drivers/leds/leds-pca9633.c: remove unused 'adapter' variable Signed-off-by: Axel Lin Cc: Peter Meerwald Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/leds/leds-pca9633.c b/drivers/leds/leds-pca9633.c index 80cb61adc2d6..d8926fd031aa 100644 --- a/drivers/leds/leds-pca9633.c +++ b/drivers/leds/leds-pca9633.c @@ -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) {