Commit 0e41142bf52002d604e16798dc3f1c28f46cc4b6

Authored by Adrian Bunk
Committed by Linus Torvalds
1 parent 7256d819e4

[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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff

arch/i386/mach-visws/setup.c
... ... @@ -177,9 +177,5 @@
177 177 add_memory_region(sgivwfb_mem_phys, sgivwfb_mem_size, E820_RESERVED);
178 178  
179 179 return "PROM";
180   -
181   - /* Remove gcc warnings */
182   - (void) sanitize_e820_map(NULL, NULL);
183   - (void) copy_e820_map(NULL, 0);
184 180 }