Skip to contentSkip to conversation

Remove useless #ifdef MODULE stuff and printout

PATCH In review Ralf Baechle 1 participant 1 message Jul 13, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/4 Remove useless #ifdef MODULE stuff and printout

Get rid of the MODULE stuff. Could have rewritten to use modern interfaces but the copyright message of this BSD licensed code isn't interesting enough to be watched on every bootup, in every syslog.

---
 drivers/net/slhc.c |   14 --------------
 1 file changed, 14 deletions(-)
drivers/net/slhc.c +0 -14
Index: linux-net/drivers/net/slhc.c
===================================================================
@@ -696,20 +696,6 @@ EXPORT_SYMBOL(slhc_compress);
 EXPORT_SYMBOL(slhc_uncompress);
 EXPORT_SYMBOL(slhc_toss);
 
-#ifdef MODULE
-
-int init_module(void)
-{
-	printk(KERN_INFO "CSLIP: code copyright 1989 Regents of the University of California\n");
-	return 0;
-}
-
-void cleanup_module(void)
-{
-	return;
-}
-
-#endif /* MODULE */
 #else /* CONFIG_INET */