From: bunk@stusta.de (Adrian Bunk)
To: James Chapman <jchapman@katalix.com>
Cc: greg@kroah.com, khali@linux-fr.org, sensors@stimpy.netroedge.com,
linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/i2c/chips/ds1337.c: #if 0 an unused function
Date: Thu, 19 May 2005 06:25:52 +0000 [thread overview]
Message-ID: <20050417200056.GG3625@stusta.de> (raw)
This patch #if 0's an unused global function.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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)
{
WARNING: multiple messages have this Message-ID (diff)
From: Adrian Bunk <bunk@stusta.de>
To: James Chapman <jchapman@katalix.com>
Cc: greg@kroah.com, khali@linux-fr.org, sensors@stimpy.netroedge.com,
linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/i2c/chips/ds1337.c: #if 0 an unused function
Date: Sun, 17 Apr 2005 22:00:56 +0200 [thread overview]
Message-ID: <20050417200056.GG3625@stusta.de> (raw)
This patch #if 0's an unused global function.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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)
{
next reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-17 20:00 Adrian Bunk [this message]
2005-05-19 6:25 ` [2.6 patch] drivers/i2c/chips/ds1337.c: #if 0 an unused function Adrian Bunk
2005-04-17 20:12 ` Jean Delvare
2005-05-19 6:25 ` [2.6 patch] drivers/i2c/chips/ds1337.c: #if 0 an unused Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050417200056.GG3625@stusta.de \
--to=bunk@stusta.de \
--cc=greg@kroah.com \
--cc=jchapman@katalix.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@stimpy.netroedge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.