]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: Call hisi_sas_slave_configure() from slave_configure_v3_hw()
authorJohn Garry <john.garry@huawei.com>
Thu, 14 Jul 2022 18:23:18 +0000 (02:23 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Jul 2022 03:04:11 +0000 (23:04 -0400)
commitd91600ea999848ce2e7296bbf26ef2c575a93826
tree1398464ab4f22e80acab9193cd57fb3f4c95867d
parent6ba62d2635f46baa364a8a16175b5ae1ab441cb1
scsi: hisi_sas: Call hisi_sas_slave_configure() from slave_configure_v3_hw()

There is duplicated code between slave_configure_v3_hw() and
hisi_sas_slave_configure(), so call common function
hisi_sas_slave_configure() from slave_configure_v3_hw().

Link: https://lore.kernel.org/r/1657823002-139010-2-git-send-email-john.garry@huawei.com
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c