[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b8821b15-5555-a298-797e-573c4bdf2c8c@redhat.com>
Date: Wed, 7 Jun 2023 09:06:56 +0200
From: David Hildenbrand <david@...hat.com>
To: Yajun Deng <yajun.deng@...ux.dev>, akpm@...ux-foundation.org,
osalvador@...e.de
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/sparse: remove unused parameters in
sparse_remove_section()
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@...ux.dev>
> ---
Reviewed-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists