[2.6 patch] drivers/i2c/chips/ds1337.c: #if 0 an unused function
From: Adrian Bunk
Date: Sun Apr 17 2005 - 15:08:39 EST
This patch #if 0's an unused global function.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
--- linux-2.6.12-rc2-mm3-full/drivers/i2c/chips/ds1337.c.old 2005-04-17 18:32:54.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/i2c/chips/ds1337.c 2005-04-17 18:33:16.000000000 +0200
@@ -228,6 +228,7 @@
* Public API for access to specific device. Useful for low-level
* RTC access from kernel code.
*/
+#if 0
int ds1337_do_command(int id, int cmd, void *arg)
{
struct list_head *walk;
@@ -242,6 +243,7 @@
return -ENODEV;
}
+#endif /* 0 */
static int ds1337_attach_adapter(struct i2c_adapter *adapter)
{
-
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/