scsi: hisi_sas: Remove some useless code in hisi_sas_alloc()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 26 Nov 2021 21:18:25 +0000 (22:18 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 7 Dec 2021 03:12:33 +0000 (22:12 -0500)
commitd43efddf6271a185d13895c5a38c889791e96bff
treec180e5c878b6c2059a6f7d7179f53124e71da935
parent54585ec62fbdbb45d9005bba3f988a11621ef42c
scsi: hisi_sas: Remove some useless code in hisi_sas_alloc()

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.

Remove the corresponding useless code.

Link: https://lore.kernel.org/r/41c86e7e3e05a13bd586d8ee1b81296140b7a6eb.1637961191.git.christophe.jaillet@wanadoo.fr
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c