diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-09-16 10:22:50 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-04 00:03:29 +0300 |
commit | c035290424a9b7b64477752058b460d0ecc21987 (patch) | |
tree | d3b881821994278eae95ebe185d1d11e7c971ffd /include/linux/memory_hotplug.h | |
parent | b36184553d41c59e6712f9d4699aca24577fbd4a (diff) | |
download | linux-c035290424a9b7b64477752058b460d0ecc21987.tar.xz |
mm/page_alloc: use local variable zone_idx directly
Use local variable zone_idx directly since it holds the exact value of
zone_idx(). No functional change intended.
Link: https://lkml.kernel.org/r/20220916072257.9639-10-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions