Re: [PATCH] mm/sparse: remove unused parameters in sparse_remove_section()

From: David Hildenbrand
Date: Wed Jun 07 2023 - 03:07:57 EST


On 07.06.23 04:39, Yajun Deng wrote:
These parameters ms and map_offset are not used in
sparse_remove_section(), so remove them.

The __remove_section() is only called by __remove_pages(), remove it.
And put the WARN_ON_ONCE() in sparse_remove_section().

Signed-off-by: Yajun Deng <yajun.deng@xxxxxxxxx>
---

Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers,

David / dhildenb