mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 23:36:39 +07:00
[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>
This commit is contained in:
parent
7256d819e4
commit
0e41142bf5
@ -177,8 +177,4 @@ char * __init machine_specific_memory_setup(void)
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user