[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17039ca8-79db-c1e4-0498-b982c0aabf08@huawei.com>
Date: Mon, 6 Dec 2021 13:23:58 +0000
From: John Garry <john.garry@...wei.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
<jejb@...ux.ibm.com>, <martin.petersen@...cle.com>
CC: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH 2/3] scsi: hisi_sas: Remove some useless code in
'hisi_sas_alloc()'
On 26/11/2021 21:18, Christophe JAILLET wrote:
> The 'hisi_hba->slot_index_tags' bitmap is allocated with 'bitmap_zalloc()'
> so it is already cleared.
>
> There is no need to clear it another time, one bit at a time.
>
> So, remove the corresponding useless code.
>
> Signed-off-by: Christophe JAILLET<christophe.jaillet@...adoo.fr>
Acked-by: John Garry <john.garry@...wei.com>
Powered by blists - more mailing lists