Skip to content
Commit f30b002c authored by Miaohe Lin's avatar Miaohe Lin Committed by Mike Rapoport
Browse files

memblock: __next_mem_pfn_range_in_zone: remove unneeded local variable nid



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.

Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
[rppt: updated the commit message]
Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
parent dd45dc07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment