Re: [PATCH] memblock: remove unneeded local variable nid

From: Mike Rapoport
Date: Thu Feb 17 2022 - 16:53:36 EST


From: Mike Rapoport <rppt@xxxxxxxxxxxxx>

On Thu, 17 Feb 2022 22:07:54 +0800, Miaohe Lin wrote:
> The nid is only used to act as output parameter of __next_mem_range.
> Since NULL can be passed to __next_mem_range as out_nid, we can thus
> remove nid by passing NULL here.
>
>

Applied, thanks!

[1/1] memblock: remove unneeded local variable nid
(no commit info)

Best regards,
--
Sincerely yours,
Mike.