[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <2866AFF1-FDA3-4A44-8542-3D74228577DC@linux.dev>
Date: Wed, 14 Sep 2022 14:52:04 +0800
From: Muchun Song <muchun.song@...ux.dev>
To: XU pengfei <xupengfei@...china.com>
Cc: Mike Kravetz <mike.kravetz@...cle.com>,
Muchun Song <songmuchun@...edance.com>,
akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] mm/hugetlb: Remove unnecessary 'NULL' values from
Pointer
> On Sep 14, 2022, at 09:21, XU pengfei <xupengfei@...china.com> wrote:
>
>
> Pointer variables allocate memory first, and then judge. There is no
> need to initialize the assignment.
>
> Signed-off-by: XU pengfei <xupengfei@...china.com>
Reviewed-by: Muchun Song <songmuchun@...edance.com>
Thanks.
Powered by blists - more mailing lists