Re: [PATCH 06/10] hugetlb: pass NULL to kobj_to_hstate() if nid is unused

From: Muchun Song
Date: Fri Aug 26 2022 - 21:49:55 EST




> On Aug 26, 2022, at 17:24, Miaohe Lin <linmiaohe@xxxxxxxxxx> wrote:
>
> We can pass NULL to kobj_to_hstate() directly when nid is unused to
> simplify the code. No functional change intended.
>
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks.