Fixing trivial warnings
Nelson Castillo
nelsoneci at gmail.com
Thu Oct 16 05:00:37 CEST 2008
From: Nelson Castillo <nelsoneci at gmail.com>
Some code was commented but now we need to comment two local
variables to avoid warnings.
Signed-off-by: Nelson Castillo <nelsoneci at gmail.com>
---
drivers/i2c/i2c-core.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
index 7cd7b27..6b363cb 100644
--- a/drivers/i2c/i2c-core.c
+++ b/drivers/i2c/i2c-core.c
@@ -153,7 +153,9 @@ static void i2c_device_shutdown(struct device *dev)
static int i2c_device_suspend(struct device * dev, pm_message_t mesg)
{
+#if 0
struct i2c_driver *driver;
+#endif
if (!dev->driver)
return 0;
@@ -171,7 +173,9 @@ static int i2c_device_suspend(struct device * dev, pm_message_t mesg)
static int i2c_device_resume(struct device * dev)
{
+#if 0
struct i2c_driver *driver;
+#endif
if (!dev->driver)
return 0;
More information about the openmoko-kernel
mailing list