Re: [PATCH] x86/e820: make e820_search_gap() static and remove unused variables

2016-12-25 Thread Yinghai Lu
On Sun, Dec 25, 2016 at 02:35:51PM +, Wei Yang wrote: > e820_search_gap() is just used locally now and the start_addr and end_addr > is fixed. Also gapstart is not checked in this function. > > The patch makes e820_search_gap() static and remove those unused variables. > > Signed-off-by: Wei

[PATCH] x86/e820: make e820_search_gap() static and remove unused variables

2016-12-25 Thread Wei Yang
e820_search_gap() is just used locally now and the start_addr and end_addr is fixed. Also gapstart is not checked in this function. The patch makes e820_search_gap() static and remove those unused variables. Signed-off-by: Wei Yang --- arch/x86/include/asm/e820.h | 2 -- arch/x86/kernel/e820.c