scsi: qla2xxx: Cleanup redundant qla2x00_abort_all_cmds during unload
authorAnil Gurumurthy <agurumurthy@marvell.com>
Tue, 2 Apr 2019 21:24:31 +0000 (14:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Apr 2019 03:45:58 +0000 (23:45 -0400)
This patch removes redundant qla2x00_abort_all_cmds() during driver unload.

Signed-off-by: Anil Gurumurthy <agurumurthy@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c

index 11ed0168504e044051c1589c9ec5f2a0843e6445..60f06a26899a8d600fade033fdb0da5ccd2c150d 100644 (file)
@@ -3817,8 +3817,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);