scsi: libsas: Delete struct scsi_core
authorJohn Garry <john.g.garry@oracle.com>
Tue, 15 Aug 2023 11:51:50 +0000 (11:51 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 21 Aug 2023 21:50:58 +0000 (17:50 -0400)
commit1136a0225d0582c4464fa37e3a91ed4b19b8745e
treed53fdd4f90ec06a652652e863e84ac63e62c055c
parent2f4e20cd6ef8083f911e4f8bba3c0a99815b44f4
scsi: libsas: Delete struct scsi_core

Since commit 79855d178557 ("libsas: remove task_collector mode"), struct
scsi_core only contains a reference to the shost. struct scsi_core is only
used in sas_ha_struct.core, so delete scsi_core and replace with a
reference to the shost there.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20230815115156.343535-5-john.g.garry@oracle.com
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
17 files changed:
drivers/scsi/aic94xx/aic94xx_hwi.c
drivers/scsi/aic94xx/aic94xx_init.c
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
drivers/scsi/isci/host.h
drivers/scsi/isci/init.c
drivers/scsi/libsas/sas_ata.c
drivers/scsi/libsas/sas_discover.c
drivers/scsi/libsas/sas_expander.c
drivers/scsi/libsas/sas_host_smp.c
drivers/scsi/libsas/sas_init.c
drivers/scsi/libsas/sas_phy.c
drivers/scsi/libsas/sas_port.c
drivers/scsi/libsas/sas_scsi_host.c
drivers/scsi/mvsas/mv_init.c
drivers/scsi/pm8001/pm8001_init.c
include/scsi/libsas.h