linux-mips
[Top] [All Lists]

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

To: Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH] dz.h: Remove useless unused module junk
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Fri, 19 Oct 2007 20:57:53 +0100 (BST)
Cc: linux-mips@linux-mips.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
 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 */

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] dz.h: Remove useless unused module junk, Maciej W. Rozycki <=