Messages in this thread Patch in this message | | | Date | Wed, 28 Jun 2006 18:54:28 +0200 | From | Adrian Bunk <> | Subject | [-mm patch] arch/i386/mach-visws/setup.c: remove dummy function calls |
| |
Thankfully, these dummy function calls are no longer required to avoid warnings - if they weren't eliminated as dead code but accidentially executed there would be a guaranteed NULL dereference.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.17-mm2-full/arch/i386/mach-visws/setup.c.old 2006-06-27 00:28:06.000000000 +0200 +++ linux-2.6.17-mm2-full/arch/i386/mach-visws/setup.c 2006-06-27 00:37:50.000000000 +0200 @@ -177,8 +177,4 @@ add_memory_region(sgivwfb_mem_phys, sgivwfb_mem_size, E820_RESERVED); return "PROM"; - - /* Remove gcc warnings */ - (void) sanitize_e820_map(NULL, NULL); - (void) copy_e820_map(NULL, 0); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |