[PATCH] dz.h: Remove useless unused module junk

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Maciej W. Rozycki
Date: Friday, October 19, 2007 - 12:57 pm

Remove unused module function prototypes that would not even build if
enabled.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
---
 Please apply under the obviously-correct rule.

  Maciej

patch-mips-2.6.18-20060920-dz-junk-0
diff -up --recursive --new-file linux-mips-2.6.18-20060920.macro/drivers/serial/dz.h linux-mips-2.6.18-20060920/drivers/serial/dz.h
--- linux-mips-2.6.18-20060920.macro/drivers/serial/dz.h	2003-06-11 23:26:46.000000000 +0000
+++ linux-mips-2.6.18-20060920/drivers/serial/dz.h	2007-01-07 19:06:02.000000000 +0000
@@ -110,9 +110,4 @@
 #define DZ_XMIT_SIZE   4096                 /* buffer size */
 #define DZ_WAKEUP_CHARS   DZ_XMIT_SIZE/4
 
-#ifdef MODULE
-int init_module (void)
-void cleanup_module (void)
-#endif
-
 #endif /* DZ_SERIAL_H */
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] dz.h: Remove useless unused module junk, Maciej W. Rozycki, (Fri Oct 19, 12:57 pm)