diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c index 2c272ad8eca6..b2a9cda05f1b 100644 --- a/drivers/staging/kpc2000/kpc2000_i2c.c +++ b/drivers/staging/kpc2000/kpc2000_i2c.c @@ -36,7 +36,6 @@ MODULE_SOFTDEP("pre: i2c-dev"); struct i2c_device { unsigned long smba; struct i2c_adapter adapter; - struct platform_device *pldev; unsigned int features; }; @@ -595,7 +594,6 @@ static int pi2c_probe(struct platform_device *pldev) res = platform_get_resource(pldev, IORESOURCE_MEM, 0); priv->smba = (unsigned long)ioremap_nocache(res->start, resource_size(res)); - priv->pldev = pldev; pldev->dev.platform_data = priv; priv->features |= FEATURE_IDF;