[2.6 patch] drivers/video/vgastate.c: kill dead code

From
Adrian Bunk <hidden>
Date
2005-11-01 20:54:11
Also in
lkml
This patch kills some dead code.


Signed-off-by: Adrian Bunk <redacted>
--- linux-2.6.14-rc5-mm1-full/drivers/video/vgastate.c.old	2005-11-01 20:40:29.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/video/vgastate.c	2005-11-01 20:40:37.000000000 +0100
@@ -485,11 +485,6 @@
 	return 0;
 }
 
-#ifdef MODULE
-int init_module(void) { return 0; };
-void cleanup_module(void) {};
-#endif
-
 EXPORT_SYMBOL(save_vga);
 EXPORT_SYMBOL(restore_vga);
 
Thread (2 messages) 2 messages, 2 authors, last reply 2005-11-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help