From 2229d93458e9e76a9b1bd6c978b16056629dab59 Mon Sep 17 00:00:00 2001 From: Himanshu Madhani Date: Thu, 1 Aug 2019 15:55:15 -0400 Subject: [PATCH 055/124] [scsi] scsi: qla2xxx: Cleanup redundant qla2x00_abort_all_cmds during unload Message-id: <20190801155618.12650-56-hmadhani@redhat.com> Patchwork-id: 267834 O-Subject: [RHEL 7.8 e-stor PATCH 055/118] scsi: qla2xxx: Cleanup redundant qla2x00_abort_all_cmds during unload Bugzilla: 1729270 RH-Acked-by: Jarod Wilson RH-Acked-by: Tony Camuso From: Anil Gurumurthy Bugzilla 1729270 This patch removes redundant qla2x00_abort_all_cmds() during driver unload. Signed-off-by: Anil Gurumurthy Signed-off-by: Himanshu Madhani Signed-off-by: Martin K. Petersen (cherry picked from commit e39a6645d9ec3a9be6470adae1df0f924d1f0737) Signed-off-by: Himanshu Madhani Signed-off-by: Jan Stancek --- drivers/scsi/qla2xxx/qla_os.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 64a523dff6be..c440d5bffefe 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -3903,8 +3903,6 @@ qla2x00_remove_one(struct pci_dev *pdev) qla2x00_delete_all_vps(ha, base_vha); - qla2x00_abort_all_cmds(base_vha, DID_NO_CONNECT << 16); - qla2x00_dfs_remove(base_vha); qla84xx_put_chip(base_vha); -- 2.13.6