Re: [PATCH] mm/page_alloc.c: Clean code by removing unnecessary initialization

2020-09-04 Thread Andrew Morton
On Fri, 4 Sep 2020 15:24:22 +0200 mateusznos...@gmail.com wrote: > From: Mateusz Nosek > > Previously variable 'tmp' was initialized, but was not read later > before reassigning. So the initialization can be removed. > > ... > > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -5637,7 +5637,

[PATCH] mm/page_alloc.c: Clean code by removing unnecessary initialization

2020-09-04 Thread mateusznosek0
From: Mateusz Nosek Previously variable 'tmp' was initialized, but was not read later before reassigning. So the initialization can be removed. Signed-off-by: Mateusz Nosek --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c