diff options
author | Jason Yan <yanaijie@huawei.com> | 2022-12-14 21:38:06 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-12-30 16:59:11 +0000 |
commit | 8d2c9d25b725a699479d388da7e116d1d2bc0ea1 (patch) | |
tree | 3c1f369594e9d843f4002ec0eb95f787ad94879d /drivers/scsi/libsas/sas_ata.c | |
parent | ffebb38efee3e6bbcccd0b7babf0ede8890794cd (diff) |
scsi: libsas: Remove useless dev_list delete in sas_ex_discover_end_dev()
The domain device 'child' is allocated in sas_ex_discover_end_dev() and
used to be added to the dev_list in this function. After the following two
fixes the device is added to the disco_list instead. As a result, the
list_del() and locking left behind is now redundant.
Fixes: 87c8331fcf72 ("[SCSI] libsas: prevent domain rediscovery competing with ata error handling")
Fixes: 92625f9bff38 ("[SCSI] libsas: restore scan order")
Cc: John Garry <john.g.garry@oracle.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_ata.c')
0 files changed, 0 insertions, 0 deletions