[2.6 patch] drivers/i2c/chips/ds1337.c: #if 0 an unused function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Adrian Bunk <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux