diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-04-28 23:16:17 -0700 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-04-28 23:16:17 -0700 |
commit | 00bc102f82e0a0c70f1d4c9fdeb4c0cbc622d777 (patch) | |
tree | 340dadb27b1ddeb8b0dd63b5facea68bd716a9d3 /mm/mmap.c | |
parent | 02d04a5163cd6bad66fd6091d2b4f53d06052aff (diff) |
mm: compaction: remove unneeded assignment to isolate_start_pfn
isolate_start_pfn is unused when cc->nr_freepages ! = 0. Otherwise
cc->free_pfn will overwrite it unconditionally. So we should remove this
unneeded and somewhat misleading assignment.
Link: https://lkml.kernel.org/r/20220418141253.24298-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Charan Teja Kalla <charante@codeaurora.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Pintu Kumar <pintu@codeaurora.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions