diff mbox series

[v2,12/15] qla2xxx: Cleanup redundant qla2x00_abort_all_cmds during unload

Message ID 20190402212434.28469-13-hmadhani@marvell.com (mailing list archive)
State Mainlined
Commit e39a6645d9ec3a9be6470adae1df0f924d1f0737
Headers show
Series qla2xxx: Misc updates and bug fixes for the driver. | expand

Commit Message

Himanshu Madhani April 2, 2019, 9:24 p.m. UTC
From: Anil Gurumurthy <agurumurthy@marvell.com>

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>
---
 drivers/scsi/qla2xxx/qla_os.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 09e0e9d04205..0c9d2cc5fcc9 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -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);