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

From: Axel Lin
Date: Wed Feb 08 2012 - 03:31:02 EST


Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
---
drivers/leds/leds-pca9633.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/leds/leds-pca9633.c b/drivers/leds/leds-pca9633.c
index c408ddc..02889bb 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) {
--
1.7.5.4



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/