From patchwork Thu Mar 15 03:34:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10283881 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7A0BE60291 for ; Thu, 15 Mar 2018 03:35:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69137287FD for ; Thu, 15 Mar 2018 03:35:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BA6F287AD; Thu, 15 Mar 2018 03:35:34 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 49D32287AD for ; Thu, 15 Mar 2018 03:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752018AbeCODf3 (ORCPT ); Wed, 14 Mar 2018 23:35:29 -0400 Received: from mail-bl2nam02on0059.outbound.protection.outlook.com ([104.47.38.59]:32000 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751758AbeCODfU (ORCPT ); Wed, 14 Mar 2018 23:35:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=e+2SX1MGnVWcQO0bFEobLjbg7allZ2jSeokP6HmPyFs=; b=ULD9Aru5VD6vM3Zp0Q6wBA50XbCU+sQiDE2dB0AS3fvhNLpN0syHJa829iaB6oSDhTabYv0R0I6Js9PacNAP4T3UVAy1nn+Qq/pd1cNHInBv+MDFJEdMXEopOWuV5FoGlm0FWg42i7HGbxIJeYq2ztkmXbp+OhT3E8wSdYM96F4= Received: from DM5PR07CA0051.namprd07.prod.outlook.com (2603:10b6:4:ad::16) by DM6PR07MB4218.namprd07.prod.outlook.com (2603:10b6:5:bd::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Thu, 15 Mar 2018 03:35:16 +0000 Received: from BY2FFO11FD011.protection.gbl (2a01:111:f400:7c0c::179) by DM5PR07CA0051.outlook.office365.com (2603:10b6:4:ad::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.588.14 via Frontend Transport; Thu, 15 Mar 2018 03:35:16 +0000 Received-SPF: Fail (protection.outlook.com: domain of cavium.com does not designate 50.232.66.26 as permitted sender) receiver=protection.outlook.com; client-ip=50.232.66.26; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BY2FFO11FD011.mail.protection.outlook.com (10.1.14.129) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.506.19 via Frontend Transport; Thu, 15 Mar 2018 03:35:16 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Wed, 14 Mar 2018 20:35:07 -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 w2F3Z6GK012695; Wed, 14 Mar 2018 20:35:07 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w2F3Z6MM012694; Wed, 14 Mar 2018 20:35:06 -0700 From: Himanshu Madhani To: , , , , CC: , Subject: [PATCH v2 08/13] qla2xxx: Remove nvme_done_list Date: Wed, 14 Mar 2018 20:34:59 -0700 Message-ID: <20180315033504.12628-9-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180315033504.12628-1-himanshu.madhani@cavium.com> References: <20180315033504.12628-1-himanshu.madhani@cavium.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(39380400002)(376002)(396003)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(1076002)(69596002)(8936002)(48376002)(2201001)(81166006)(81156014)(72206003)(54906003)(305945005)(110136005)(105606002)(5660300001)(80596001)(186003)(336012)(356003)(106466001)(4326008)(36756003)(76176011)(50466002)(6346003)(16586007)(2950100002)(8676002)(50226002)(86362001)(42186006)(26005)(47776003)(51416003)(478600001)(6666003)(59450400001)(316002)(87636003)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB4218; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Fail; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD011; 1:NzhgKt0LA4xNHwr6OxArlzhg/tLqsJmsPmAPA8nHVpcqkuQWpzHN9FRSPOwE2b5GWanzAWZL9QGipn/wCv7EKIkqlmf5ky1wsxobhGO8xK1PpiaJ3PXMVcfc5McPmU79 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f056922e-52b2-4c40-03ee-08d58a25c51d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:DM6PR07MB4218; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4218; 3:u9gatSNQzmKz6uuP0fPPPCn0qToqyifJvO8nsWOd7NPxZfbGi/UybdtixRZPm9x8mAoQJPGC7kp/CVrSu2ITKahncbYun/Ql/V9NBSo9wj2edNV2cZEqa4lZCm5iVGKU277FW8TGFtL9/dMrgX/KjCUdDrQFLOlBp7HS57TB/qKV9d+D9IfCjrzLBMcEEz+BTmivYTuTMT13B/UHJYnInrRxJEE9SAhK+NEVRTyOQIGrKThWBHCXx5mhqkxX3bgmc7fyfHULzcRxxtunDAmRpJEnIqA2URiSTdwIe2PIMqxLnVYdDTsc65K9AlH44XFAK1IJcrjrgoYS9zyoc7g3cFb+z1WILGuYYVBYazhbQvY=; 25:jN8QvqrUY9a9bQfcWA6wyGGMac/Y9eY/t/BEsL8xcHFJ2sECikK4GmQIwbdx0ZWpquenJeogqSWSnOBJIk2YlTFIbm5QYCYsoNsOnq5MFMwcNLqQLFG1xbfVjtvrdaD5N6OC7eDMRJyYMZXrhwTscb+qmKEGIdGH9gXapkw5kqjVXbu9qeyrDLfzBgyblOoToc6H+t8siR+loW1dkng4arIwH1S4OxbJLbTZ/p85iod3QhNSkZPXbUafJxibuAge/cOF4cxyAjZV2K7CN4QHOjLWKFo6L0OGnmibjUwv1bsCwiQcRfYecE/NzthxlQXX9kJpfxvbooEBBUo8UTZ2Bg== X-MS-TrafficTypeDiagnostic: DM6PR07MB4218: X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4218; 31:Cg22VB8zrjQTf3ZBzP2NDBM1lzshcGmkyfxN8x9XAxe1x321J8zFQr1jhs4Lbwfe24fY/vvTRjySBi2/gr+DoWH3v1CsbIvUBlfQB4zHF9Qj+c3nRJ+PNzXPABDfTDpoReQSu5FSSl4Jh1D0/F9ukRbQocZcwqfgnJwWQns1PeyjQYfYSTUG4emZcfg4Ix1gZ8S0mSPLApYPmJzPyq1lKzuBmxk+OcGXJBUZU/iMcEo=; 20:LQQtwzksxpwTykEWZ/ISYbI9bK3yCyCzlhPYIovCTZFOQScU8+H72d9m3xKNSSg5awnpguRGxaWG9AjK8IP+SjBfI1frEiEgnq0HiWt4rxpXutjx+Wz4CwbpkaSbHxPPgrnhju7OOx3+qqFnZ5KyaI2jKy27lcg2Mv9wXZORPes2BwdPz3Cfgc/raIq1HZuvw2YE/EfWwCHy5+HPk8M2Zc7Gn7hcYdLAqjptKe4RYh+rS5h82RSga+5ubpBV8Dsmaa1TwjnMkrk7ppHohSNutN+XjLSqKP/kfHMH3Eg7J2BGUc7QebPTLvnQGARXDaVYUre46oXp3LHsbZOSGqxekEN8Dyr0J3inexA8rmqgzGJoPz4ReyAbaHE7imq5xBk7gk/5JW3X6WeuLu+OU3qqO1EKg6i8v+pw/YkH8DFl3bHWsv+NNVePQlOuPdVFvZbaYvmcUyYdnwazHG5hINYRvW0Wu935om6MNVvRa6vmiCMYLy8Nnw0K0aMBFIOrt/Xf X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231221)(944501270)(52105095)(93006095)(93001095)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:DM6PR07MB4218; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB4218; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4218; 4:uKz8jiPFXJ0xzIdZvxvLNpTmtjp+Xxr0+E3PLrWDDAG1MblqdsKs4J9dtuBHXuhf7SQDLotMFzOmT9znmNdbxCpSwASY4nRmxx8aef40mZVE3pr9I/zhfHQDAO1WzyDcyJmMfcYYP7k2DlBxlwZhxBepMS2BXoSx+Vm8EHxHdb2tKTwVJhJDEl/qVjmrkdOgUqX2Z+g8zK0wNm9mGBVRbI0QtOPiTS/qERa+utlbH7j8RdhojMJoQwxsZGFFn4Yfpt3QnWBH2OuFMzhH2pBUJw== X-Forefront-PRVS: 0612E553B4 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM6PR07MB4218; 23:Y7fPw8e4Fxtem3W8DtXyDPGKXGErY7fdv1VL4gPLP?= =?us-ascii?Q?Ie5STyPHl4VOkIdnjC2CznnA5eNX/Xb+Mx9pebyp6DrsjFd8eJ/XZsHAIBQW?= =?us-ascii?Q?kcWruAYCm23198V+9pLROe5tiH0dsVekMbQji8IQa1Gwn0f9BTtEHXClEIky?= =?us-ascii?Q?NuP6nrPgN6wNsM4yQSi07P77J8YnbVQaiqjGwO9tqOFV33+jb85id6yzbZOb?= =?us-ascii?Q?SXkJ5pqMqYv3NfjhZtHajYE4Yf6gLbtp79LlOR4xTlXABwy+kEXSLPgTO49T?= =?us-ascii?Q?Ha1NFS4j/dS7pko+11m6B2ul7T0+aEPwHu963nrITeMx016MCXN+7VfPOe9w?= =?us-ascii?Q?NS7U6SmXE+8OcdK+nUGg/9kExNMSVkmvcHBtRrvPMRB25/6+/zKPHU/aEBwY?= =?us-ascii?Q?CSQrj8LjS/g/LgP7oDyvc10PbO7KY2GTX3o/DWFGccUrHTR8AghL8rvsN2hC?= =?us-ascii?Q?oxd5K7uS7ylCvh8PTTz5Dq+1VkfTgDlSvw92duLHrmcdUgy+LHEjdodutlSQ?= =?us-ascii?Q?J/XJFev/FyjgFL3Cpf5lOcnJycV+rv0dx0iIN5W4yGuDC840UX31P3oCJSXB?= =?us-ascii?Q?OOHq+YTrn2ADLMHGiyC8fay1k8plZ+SrTpfOrXalyDvcCLNiJNJAbJg9cHEU?= =?us-ascii?Q?ppzJnz0jbVJS4T1pnveLA0RJN9sJKwuzwkdvScFaiSzP3w2wBVGnOWrsg2QH?= =?us-ascii?Q?6QJH/kbsV6dtIkYZ40CzU0fhy5IFeAanhcgzJlsEM8mrrDYyrMfgL9/K//YE?= =?us-ascii?Q?N7M/PVyUAQWRHcaMddw+izq0iWV/tQvrUM3hWTzA1fmflkyOHQpaj4wmMf0G?= =?us-ascii?Q?Dqmeo5wWPGRocMLQPXlwIhcX0RRb9A7TMe9zjbnQhA9jrWaxMXQHaKHzZgPF?= =?us-ascii?Q?SAnChzxU7UBISBj+H6yeuqFLOqq4aziR2ipAg2zTzNvn8TgTY7HiEq1Zr602?= =?us-ascii?Q?xxFshL9a+YgS34LbuRE5Cz4Dtozl5xEqNB8zyXh7AAWyTTuHdYam/aXEgWrW?= =?us-ascii?Q?nuWYSP4AjUvTqAY0lfxElnba7hYK9WBS2WgB4n4cWM/quWMAudxHeoGy+TTS?= =?us-ascii?Q?3qV/m3WG6IoUy2P9esn5j+zqjJlXDjD4rLKv4igXlifBzq00Azp+MglCl25U?= =?us-ascii?Q?Vme4q3KQsOAXrrcrSc8H/6ZogC7if1D?= X-Microsoft-Antispam-Message-Info: EbiUWg1KXZzokY6CoKiV/6b39Ti8dnw822gXNPLurbL6QGZk6YL3Y1jqdurtzcY/FGCcgm5hC8KPigekNmq1LQlic84Vl6nmVrBPOBJ6wcQC3gO2CNZij3qd0LHgFqE0P7Tt8ocsrAVgLk9huVYjvb61Ui0EJdbhqp+oo3iiu0ijbX7lHOG5nFat0245kDsv X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4218; 6:zgFUhqtTjo/7OTfjiy6zLngiW/Fl91OUG5+QX8I4v/4EtZAjrs8Ujjf4pua85/5JQQg7UMEu87UNrFnw/nhq4gkYKkDtkTJQOvqcv2jADXdswsryuOXuO/A63mkrmmnK3LzBDUVjFMFosGX1+GnyXvspngAsEVufqxGkcNlpfQSXw+IjUTqe64DwK2ltPkQ2FizsUwzWNRQVW6XO1cOFa0wib2qqeOqlkEUXh+yd7q7ez24VNBl+t9l/4nnL0+0FexWvZQuWsYwnaErXfBHvGXsO+jOve2CFSmhrDfLygJkFktpvWECiaDb4GqDpd9pCHbVLydc8vaC92dG0drSuIH7Mqiwp9HzgniIevThBDqw=; 5:nPfOIUScH5TXjOLL9+7xfcDK47NbvcquM4FhclhUVV7BSSirAhwq8YiBDTGJxPG4VMzeehNAHkCEla/YEgfouVltqq6BnpUUOnU3kTRSplNIqQb6spdgD/VPJ9Juax7HENja6u7+H0/QD4sq+36JlaFpoEQJ9GOGYvCeHUsavec=; 24:lKcrqGBhj5wxVrBHMgVFH99F7na4TOcbYfsPA+9kdGRupj23xSvXQfZ/lSgG5xhL4DT4do998mhV6SVf81xMTyUjpPYPd2kGhOCAg7q//6A=; 7:rBSWAYWliFsSu/Ki+n0ec6ee0F6TgpmOgOtRKHyTTcUC9cY2Pjy2/mjymMD5zO314kMRSB8frO44BGNzRSdVkCpZ7IW2yNOXxirNzzh39RhylZFWH3kLa2q9soYQuWOz/kf6DxqK2Af4lMFqCCDd3WpfzTqcgv0p8wCULGnXkhwsND9rZSDOyhmJfkp20T4aWjrjdUitRXlN4ZRNh9/f45MwZhMolv1ovoKxBRjaT6QhO2Jhy31aRxsRo1MnpCae SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2018 03:35:16.6201 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f056922e-52b2-4c40-03ee-08d58a25c51d X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB4218 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: Darren Trapp Signed-off-by: Darren Trapp Signed-off-by: Himanshu Madhani Reviewed-by: Johannes Thumshirn --- drivers/scsi/qla2xxx/qla_def.h | 1 - drivers/scsi/qla2xxx/qla_gbl.h | 2 -- drivers/scsi/qla2xxx/qla_init.c | 1 - drivers/scsi/qla2xxx/qla_mid.c | 6 ------ drivers/scsi/qla2xxx/qla_nvme.c | 13 ++----------- drivers/scsi/qla2xxx/qla_os.c | 1 - 6 files changed, 2 insertions(+), 22 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 944626cc84d9..576b72bef01d 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -3465,7 +3465,6 @@ struct qla_qpair { struct work_struct q_work; struct list_head qp_list_elem; /* vha->qp_list */ struct list_head hints_list; - struct list_head nvme_done_list; uint16_t cpuid; struct qla_tgt_counters tgt_counters; }; diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index e9295398050c..19f44e12926b 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h @@ -896,6 +896,4 @@ void qlt_update_host_map(struct scsi_qla_host *, port_id_t); void qlt_remove_target_resources(struct qla_hw_data *); void qlt_clr_qp_table(struct scsi_qla_host *vha); -void qla_nvme_cmpl_io(struct srb_iocb *); - #endif /* _QLA_GBL_H */ diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index dec3e2cdaffa..0805483645d7 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -8408,7 +8408,6 @@ struct qla_qpair *qla2xxx_create_qpair(struct scsi_qla_host *vha, int qos, qpair->vp_idx = vp_idx; qpair->fw_started = ha->flags.fw_started; INIT_LIST_HEAD(&qpair->hints_list); - INIT_LIST_HEAD(&qpair->nvme_done_list); qpair->chip_reset = ha->base_qpair->chip_reset; qpair->enable_class_2 = ha->base_qpair->enable_class_2; qpair->enable_explicit_conf = diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c index e965b16f21e3..da85cd89639f 100644 --- a/drivers/scsi/qla2xxx/qla_mid.c +++ b/drivers/scsi/qla2xxx/qla_mid.c @@ -778,18 +778,12 @@ static void qla_do_work(struct work_struct *work) struct qla_qpair *qpair = container_of(work, struct qla_qpair, q_work); struct scsi_qla_host *vha; struct qla_hw_data *ha = qpair->hw; - struct srb_iocb *nvme, *nxt_nvme; spin_lock_irqsave(&qpair->qp_lock, flags); vha = pci_get_drvdata(ha->pdev); qla24xx_process_response_queue(vha, qpair->rsp); spin_unlock_irqrestore(&qpair->qp_lock, flags); - list_for_each_entry_safe(nvme, nxt_nvme, &qpair->nvme_done_list, - u.nvme.entry) { - list_del_init(&nvme->u.nvme.entry); - qla_nvme_cmpl_io(nvme); - } } /* create response queue */ diff --git a/drivers/scsi/qla2xxx/qla_nvme.c b/drivers/scsi/qla2xxx/qla_nvme.c index adeda6a4e4fd..8c05df30c083 100644 --- a/drivers/scsi/qla2xxx/qla_nvme.c +++ b/drivers/scsi/qla2xxx/qla_nvme.c @@ -149,16 +149,6 @@ static void qla_nvme_sp_ls_done(void *ptr, int res) qla2x00_rel_sp(sp); } -void qla_nvme_cmpl_io(struct srb_iocb *nvme) -{ - srb_t *sp; - struct nvmefc_fcp_req *fd = nvme->u.nvme.desc; - - sp = container_of(nvme, srb_t, u.iocb_cmd); - fd->done(fd); - qla2xxx_rel_qpair_sp(sp->qpair, sp); -} - static void qla_nvme_sp_done(void *ptr, int res) { srb_t *sp = ptr; @@ -177,7 +167,8 @@ static void qla_nvme_sp_done(void *ptr, int res) fd->status = NVME_SC_INTERNAL; fd->rcv_rsplen = nvme->u.nvme.rsp_pyld_len; - list_add_tail(&nvme->u.nvme.entry, &sp->qpair->nvme_done_list); + fd->done(fd); + qla2xxx_rel_qpair_sp(sp->qpair, sp); return; } diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 5c5dcca4d1da..69b46c8b9dd2 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -397,7 +397,6 @@ static void qla_init_base_qpair(struct scsi_qla_host *vha, struct req_que *req, ha->base_qpair->use_shadow_reg = IS_SHADOW_REG_CAPABLE(ha) ? 1 : 0; ha->base_qpair->msix = &ha->msix_entries[QLA_MSIX_RSP_Q]; INIT_LIST_HEAD(&ha->base_qpair->hints_list); - INIT_LIST_HEAD(&ha->base_qpair->nvme_done_list); ha->base_qpair->enable_class_2 = ql2xenableclass2; /* init qpair to this cpu. Will adjust at run time. */ qla_cpu_update(rsp->qpair, raw_smp_processor_id());