Re: [PATCH] kaslr: clean up a useless variable and some usless space

2017-11-23 Thread Thomas Gleixner
On Thu, 23 Nov 2017, Thomas Gleixner wrote: > On Thu, 23 Nov 2017, Chao Fan wrote: > > > There are two same variable "rc" in mem_avoid_memmap. One is in the > > circulation, the other is out of the circulation. The one out will never > > be used, so drop it. > > > > Signed-off-by: Chao Fan > >

Re: [PATCH] kaslr: clean up a useless variable and some usless space

2017-11-23 Thread Thomas Gleixner
On Thu, 23 Nov 2017, Chao Fan wrote: > There are two same variable "rc" in mem_avoid_memmap. One is in the > circulation, the other is out of the circulation. The one out will never > be used, so drop it. > > Signed-off-by: Chao Fan > --- > arch/x86/boot/compressed/kaslr.c | 5 ++--- > 1 file c

[PATCH] kaslr: clean up a useless variable and some usless space

2017-11-23 Thread Chao Fan
There are two same variable "rc" in mem_avoid_memmap. One is in the circulation, the other is out of the circulation. The one out will never be used, so drop it. Signed-off-by: Chao Fan --- arch/x86/boot/compressed/kaslr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/