From: Adrian Bunk Date: Wed, 9 Nov 2005 05:39:21 +0000 (-0800) Subject: [PATCH] drivers/video/vgastate.c: kill dead code X-Git-Tag: v2.6.15-rc1~101 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=703ebe86a999861e833be4015aaf552837e9613a;p=linux-2.6 [PATCH] drivers/video/vgastate.c: kill dead code This patch kills some dead code. Signed-off-by: Adrian Bunk Acked-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/vgastate.c b/drivers/video/vgastate.c index ca92940f39..d9e01daee6 100644 --- a/drivers/video/vgastate.c +++ b/drivers/video/vgastate.c @@ -485,11 +485,6 @@ int restore_vga (struct vgastate *state) return 0; } -#ifdef MODULE -int init_module(void) { return 0; }; -void cleanup_module(void) {}; -#endif - EXPORT_SYMBOL(save_vga); EXPORT_SYMBOL(restore_vga);