From: Anil Gurumurthy Date: Tue, 2 Apr 2019 21:24:31 +0000 (-0700) Subject: scsi: qla2xxx: Cleanup redundant qla2x00_abort_all_cmds during unload X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e39a6645d9ec3a9be6470adae1df0f924d1f0737;p=openwrt%2Fstaging%2Fblogic.git scsi: qla2xxx: Cleanup redundant qla2x00_abort_all_cmds during unload 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 --- diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 11ed0168504e..60f06a26899a 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);