drivers/leds/leds-pca9633.c: remove unused 'adapter' variable
authorAxel Lin <axel.lin@gmail.com>
Fri, 23 Mar 2012 22:02:13 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:35 +0000 (16:58 -0700)
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>
drivers/leds/leds-pca9633.c

index 80cb61adc2d663083506d16ee4f7d66f7f390e83..d8926fd031aa938f6e6e95c8713ebe63b6c596db 100644 (file)
@@ -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) {