Skip to content

Commit 703ebe8

Browse files
AdrianBunkLinus Torvalds
authored andcommitted
[PATCH] drivers/video/vgastate.c: kill dead code
This patch kills some dead code. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 78ac151 commit 703ebe8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/video/vgastate.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -485,11 +485,6 @@ int restore_vga (struct vgastate *state)
485485
return 0;
486486
}
487487

488-
#ifdef MODULE
489-
int init_module(void) { return 0; };
490-
void cleanup_module(void) {};
491-
#endif
492-
493488
EXPORT_SYMBOL(save_vga);
494489
EXPORT_SYMBOL(restore_vga);
495490

0 commit comments

Comments
 (0)