From patchwork Tue Apr 2 21:24:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Madhani X-Patchwork-Id: 10882369 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8ACE5922 for ; Tue, 2 Apr 2019 21:26:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75EC7288BA for ; Tue, 2 Apr 2019 21:26:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A418288D2; Tue, 2 Apr 2019 21:26:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D766288BA for ; Tue, 2 Apr 2019 21:26:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbfDBV0W (ORCPT ); Tue, 2 Apr 2019 17:26:22 -0400 Received: from mail-eopbgr680087.outbound.protection.outlook.com ([40.107.68.87]:34465 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726078AbfDBV0U (ORCPT ); Tue, 2 Apr 2019 17:26:20 -0400 Received: from DM6PR07CA0028.namprd07.prod.outlook.com (2603:10b6:5:94::41) by DM6PR07MB5372.namprd07.prod.outlook.com (2603:10b6:5:44::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.19; Tue, 2 Apr 2019 21:26:18 +0000 Received: from CO1NAM05FT061.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::200) by DM6PR07CA0028.outlook.office365.com (2603:10b6:5:94::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1750.16 via Frontend Transport; Tue, 2 Apr 2019 21:26:18 +0000 Authentication-Results: spf=fail (sender IP is 199.233.58.38) smtp.mailfrom=marvell.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=marvell.com; Received-SPF: Fail (protection.outlook.com: domain of marvell.com does not designate 199.233.58.38 as permitted sender) receiver=protection.outlook.com; client-ip=199.233.58.38; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (199.233.58.38) by CO1NAM05FT061.mail.protection.outlook.com (10.152.96.179) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1771.6 via Frontend Transport; Tue, 2 Apr 2019 21:26:18 +0000 Received: from dut1171.mv.qlogic.com (10.112.88.18) by CAEXCH02.caveonetworks.com (10.67.98.110) with Microsoft SMTP Server (TLS) id 14.2.347.0; Tue, 2 Apr 2019 14:25:10 -0700 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id x32LPADx028552; Tue, 2 Apr 2019 14:25:10 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x32LPALs028551; Tue, 2 Apr 2019 14:25:10 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH v2 12/15] qla2xxx: Cleanup redundant qla2x00_abort_all_cmds during unload Date: Tue, 2 Apr 2019 14:24:31 -0700 Message-ID: <20190402212434.28469-13-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190402212434.28469-1-hmadhani@marvell.com> References: <20190402212434.28469-1-hmadhani@marvell.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131987139785002988;(abac79dc-c90b-41ba-8033-08d666125e47);(abac79dc-c90b-41ba-8033-08d666125e47) X-Forefront-Antispam-Report: CIP:199.233.58.38;IPV:CAL;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(979002)(376002)(346002)(39860400002)(136003)(396003)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(97736004)(16586007)(446003)(80596001)(36906005)(54906003)(1076003)(105606002)(336012)(42186006)(8676002)(11346002)(81156014)(81166006)(53936002)(316002)(110136005)(498600001)(476003)(2616005)(87636003)(8936002)(126002)(5660300002)(2906002)(36756003)(50226002)(76176011)(48376002)(4326008)(486006)(26826003)(86362001)(14444005)(356004)(6666004)(305945005)(68736007)(51416003)(47776003)(106466001)(26005)(85426001)(4744005)(50466002)(69596002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR07MB5372;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 54ac8e24-f33c-43eb-c17a-08d6b7b1d844 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600139)(711020)(4605104)(2017052603328);SRVR:DM6PR07MB5372; X-MS-TrafficTypeDiagnostic: DM6PR07MB5372: X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0995196AA2 X-Microsoft-Antispam-Message-Info: gPYCIKAwxjTSULQWdfCJBuzSRQhyngOyS+xpIcyLddwBGpVZfbjTpVFPl0O1BOcRbSeSZbrzn00BnGKjLfYFUcBLOooy8dlTKPVjuHUC84JeWx2kGkHzbqSe1SIh3uLnAiMKer1hlsaJTqkOTgcUqcYa17cQIz7pLFmYUFoelEdVzXDKaomXUgy3YFpkiP6bpJtw5Z7RwF0auKzqGmaRN/Vf9GhOUDkdiRSSk/M4+tvFaOgo/e4KBTGVVac4eartnpbQw+Dfc/Bhe2tbvCC3Oa6ZSYQN5XSBrjbD11lnEJ9/yHfF1Iu0/n26Ts/BF748LPBX0wGghYJM+AK+NvslXT/eycla21xP/0etFL9SNeyyBd9VCURR/Mst17V5ERorhe0wnUZz4z4uEiZ5n4TxiIKULwYOy8wdgmx4j7aOHys= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2019 21:26:18.2060 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 54ac8e24-f33c-43eb-c17a-08d6b7b1d844 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[199.233.58.38];Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB5372 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Anil Gurumurthy This patch removes redundant qla2x00_abort_all_cmds() during driver unload. Signed-off-by: Anil Gurumurthy Signed-off-by: Himanshu Madhani --- 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 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);