ata,scsi: remove ata_sas_port_{start,stop} callbacks
authorHannes Reinecke <hare@suse.de>
Mon, 31 Jul 2023 14:34:13 +0000 (16:34 +0200)
committerDamien Le Moal <dlemoal@kernel.org>
Wed, 2 Aug 2023 08:45:13 +0000 (17:45 +0900)
commit43aa43351bb551a7732c1b9f6e8ebb9a6f30b063
treeb3fab7ced42137e5314c2439c72ab53d0ad9abf5
parentff8072d589dcff7c1f0345a6ec98b5fc1e9ee2a1
ata,scsi: remove ata_sas_port_{start,stop} callbacks

Callbacks are empty now, so remove them.

Also, remove the call to ap->ops->port_start() in ata_sas_port_init(),
as this would otherwise cause a NULL pointer dereference, now when the
callback is gone.

Signed-off-by: Hannes Reinecke <hare@suse.de>
[niklas: remove the call to ap->ops->port_start() in ata_sas_port_init()]
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/libata-sata.c
drivers/scsi/libsas/sas_ata.c
include/linux/libata.h