Re: [PATCH 0/2] mm/mmap.c: Remove some redundancy in arch_get_unmapped_area_topdown()

From: Mike Rapoport
Date: Sun Jan 20 2019 - 12:13:49 EST


Hi,

On Sun, Jan 20, 2019 at 09:12:26AM +0100, Yang Fan wrote:
> This patchset remove some redundancy in function
> arch_get_unmapped_area_topdown().
>
> [PATCH 1/2] mm/mmap.c: Remove redundant variable 'addr' in
> arch_get_unmapped_area_topdown()
> [PATCH 2/2] mm/mmap.c: Remove redundant const qualifier of the no-pointer
> parameters
>
> Yang Fan (2):
> mm/mmap.c: Remove redundant variable 'addr' in
> arch_get_unmapped_area_topdown()
> mm/mmap.c: Remove redundant const qualifier of the no-pointer
> parameters

I think it would be better to merge these patches into one.
For the merged patch feel free to add

Reviewed-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>

> mm/mmap.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> --
> 2.17.1
>

--
Sincerely yours,
Mike.