Cleanup warning message

Change-Id: I8409f573ac588f9451768d524f64d70976d3a6e7
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index c43e2f2..e0b60e9 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1324,7 +1324,6 @@
 	 * later stages of suspending when device Runtime PM is disabled.
 	 * I2C device will be turned off at "noirq" suspend stage.
 	 */
-	struct platform_device *pdev = to_platform_device(dev);
 	if (atomic_read(&dev->power.usage_count) > 1) {
 		dev_info(dev,
 			 "active I2C transaction detected - suspend aborted\n");