diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-02-17 17:07:54 +0300 |
---|---|---|
committer | Mike Rapoport <rppt@linux.ibm.com> | 2022-02-21 09:26:06 +0300 |
commit | f30b002ccfee8c60c8feb590e145c0b5e8fa4c67 (patch) | |
tree | 8fd91cf299ca7a7ba75ae9d1f601a588ab2ce3c5 /net/lapb/lapb_timer.c | |
parent | dd45dc071101a45619cbaff0f77d07abdf25caf0 (diff) | |
download | linux-f30b002ccfee8c60c8feb590e145c0b5e8fa4c67.tar.xz |
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: Miaohe Lin <linmiaohe@huawei.com>
[rppt: updated the commit message]
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions