public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/block/aoe/aoechr.c cleanups
@ 2005-01-29 13:35 Adrian Bunk
  2005-01-31 14:34 ` Ed L Cashin
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2005-01-29 13:35 UTC (permalink / raw)
  To: Sam Hopkins; +Cc: linux-kernel

This patch contains the following cleanups:
- make the needlessly global struct aoe_fops static
- #if 0 the unused global function aoechr_hdump

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/block/aoe/aoechr.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

--- linux-2.6.11-rc2-mm1-full/drivers/block/aoe/aoechr.c.old	2005-01-29 13:43:34.000000000 +0100
+++ linux-2.6.11-rc2-mm1-full/drivers/block/aoe/aoechr.c	2005-01-29 13:44:16.000000000 +0100
@@ -99,6 +99,8 @@
 		up(&emsgs_sema);
 }
 
+#if 0
+
 #define PERLINE 16
 void
 aoechr_hdump(char *buf, int n)
@@ -134,6 +136,8 @@
 	kfree(fbuf);
 }
 
+#endif  /*  0  */
+
 static ssize_t
 aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp)
 {
@@ -233,7 +237,7 @@
 	}
 }
 
-struct file_operations aoe_fops = {
+static struct file_operations aoe_fops = {
 	.write = aoechr_write,
 	.read = aoechr_read,
 	.open = aoechr_open,


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-02-01  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-29 13:35 [2.6 patch] drivers/block/aoe/aoechr.c cleanups Adrian Bunk
2005-01-31 14:34 ` Ed L Cashin
2005-02-01  7:54   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox