commit | 1cc53a047b0b9389c2d8f4a69499c6135572f23e | [log] [tgz] |
---|---|---|
author | Muchun Song <songmuchun@bytedance.com> | Thu Oct 27 11:36:41 2022 +0800 |
committer | Andrew Morton <akpm@linux-foundation.org> | Wed Nov 30 15:58:40 2022 -0800 |
tree | fcd631b7e489f6008408625889d40ee08625cb94 | |
parent | d302c2398ba269e788a4f37ae57c07a7fcabaa42 [diff] |
mm: hugetlb_vmemmap: remove redundant list_del() The ->lru field will be assigned to a new value in __free_page(). So it is unnecessary to delete it from the @list. Just remove it to simplify the code. Link: https://lkml.kernel.org/r/20221027033641.66709-1-songmuchun@bytedance.com Signed-off-by: Muchun Song <songmuchun@bytedance.com> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>