Skip to contentSkip to conversation

drivers/i2c/chips/ds1337.c: #if 0 an unused function

PATCH In review Adrian Bunk 2 participants 2 messages Apr 17, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/i2c/chips/ds1337.c: #if 0 an unused function

This patch #if 0's an unused global function.

drivers/i2c/chips/ds1337.c renamed from drivers/i2c/chips/ds1337.c.old +2 -0
@@ -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)
 {
#1 lore raw

Hi Adrian,

Quoted 1 line

This patch #if 0's an unused global function.

No. James and Ladislav are working on this driver.

Thanks,

Signature · 1 line
Jean Delvare