From patchwork Wed Dec 20 06:56:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10125115 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 2332A6019C for ; Wed, 20 Dec 2017 06:58:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B29229649 for ; Wed, 20 Dec 2017 06:58:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F5FE2964F; Wed, 20 Dec 2017 06:58:04 +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 81A9629649 for ; Wed, 20 Dec 2017 06:58:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932553AbdLTG6B (ORCPT ); Wed, 20 Dec 2017 01:58:01 -0500 Received: from mail-sn1nam02on0061.outbound.protection.outlook.com ([104.47.36.61]:58000 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932512AbdLTG5j (ORCPT ); Wed, 20 Dec 2017 01:57:39 -0500 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=z5UGtZJvxCvCyxtrVyoE51MEVn6GLy1+MuQpCxRf8BY=; b=DtiK8+t6/UUH528MSLuyfv0uTKm16upASEg0DEbTtpG/GTNobvkeFXlJC3jiQ4rbh43SOyaDB52Kwrc16BERz3rDfgMkmUR94E5EL0DfZ9L5Kb/UUtnSkoJCTp3JtLaGK/6LFydRGPM6BXIouYtujdjGXQ41xqvkCTfnxBvxjBs= Received: from SN1PR0701CA0001.namprd07.prod.outlook.com (10.162.96.11) by SN1PR0701MB1950.namprd07.prod.outlook.com (10.163.131.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Wed, 20 Dec 2017 06:57:36 +0000 Received: from BN1AFFO11FD037.protection.gbl (2a01:111:f400:7c10::131) by SN1PR0701CA0001.outlook.office365.com (2a01:111:e400:5173::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Wed, 20 Dec 2017 06:57:36 +0000 Authentication-Results: spf=permerror (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=cavium.com; Received-SPF: PermError (protection.outlook.com: domain of cavium.com used an invalid SPF mechanism) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1AFFO11FD037.mail.protection.outlook.com (10.58.52.241) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.302.6 via Frontend Transport; Wed, 20 Dec 2017 06:57:23 +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; Tue, 19 Dec 2017 22:56:52 -0800 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 vBK6ureh021706; Tue, 19 Dec 2017 22:56:53 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id vBK6urhp021705; Tue, 19 Dec 2017 22:56:53 -0800 From: Himanshu Madhani To: , CC: , Subject: [PATCH 40/43] qla2xxx: Remove unused argument from qlt_schedule_sess_for_deletion() Date: Tue, 19 Dec 2017 22:56:41 -0800 Message-ID: <20171220065644.21511-41-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20171220065644.21511-1-himanshu.madhani@cavium.com> References: <20171220065644.21511-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)(376002)(396003)(346002)(39860400002)(39380400002)(2980300002)(448002)(199004)(189003)(76176011)(59450400001)(8676002)(81156014)(4326008)(478600001)(87636003)(72206003)(106466001)(2906002)(81166006)(356003)(47776003)(1076002)(54906003)(305945005)(110136005)(50226002)(8936002)(80596001)(69596002)(48376002)(5660300001)(6666003)(50466002)(2950100002)(51416003)(575784001)(86362001)(36756003)(42186006)(85326001)(16586007)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0701MB1950; H:CAEXCH02.caveonetworks.com; FPR:; SPF:PermError; PTR:50-232-66-26-static.hfc.comcastbusiness.net; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD037; 1:h0/KE2Wc2XUSE4qGqe/KcWfyn+W87QAajqtIMzwNWiAQ6YCJce+E6IQbS+apzBf58S6QJH7XPbpWmZDTjaCXrzZXQJv3uNl2SFHyRvedtcPcrq4EemgoATvHEgH3H+av X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8b3d13f6-8719-44d7-0117-08d54776ec19 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307)(7153060); SRVR:SN1PR0701MB1950; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1950; 3:dEPo78B0x29i0M15KQAt6ekDPI6lmjdfWD6TLUS3QudVTpt+RuE1npwzggttBo4bYxuBmzTBvspImqjxxhGk6h/+atXTiXjTSEz3NxE1UM88qA2VeCzkxpzUPApFOkJAuaNZkpZfBI86XlvEPS8C1lkfPbuI9qunAFW77pfLCF8FRm9sYKn4kIl/VHyEJPa0L46nEmaBiuky2HXPLNhqqKRVnH/fPIYJbxIk5GjU6sXtQo3Uc5duDedAxG0lCve032CbiEUPuupaq/FpdIQ5LFVv9jEYSR4+/mtKeKEBckvZ3iyGY7Hbvw0GppgUKe7IHkxVRjRoU5zRgR0mvXq6gJxnDzTEQ3ZBLGuR/+jz8Mc=; 25:Txg+DjbewQ6uVAkq38jdFI9L3NJMp1iViBXq++p1AcTpeyRIEi1KDvNk75i0zNDVYMepWvjEfpXoYWb/H2XRL5ft9zOMwfJaANnpjvCzOMCArDp8g4eGN3WSc185mQmNEKZ97LoWO8MxMjD0c3bckYRV16G28yn3MFFxcUXTeR5KcF9xLIKFcpPvTG4Pbj9XS6ECpSU+FLSZfBwqzjD3YMC876gssq2PafZJEy24wymEeIqjr4APTvNvZT+7PB2ic0rjnHwee6fHGQwSXajvJnb0Yj6VL0zh9cWT9X1DUlUm2VAcX01GZBgTc08q2a+2ouMrS2HUYUxRIvmB19yGsg== X-MS-TrafficTypeDiagnostic: SN1PR0701MB1950: X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1950; 31:B7PAyTl5lkSShbO59JRmSq79lS1i+0iV6kXBdOxlRX7awHthY7Rg+VomLIcqmxzeIK1uEYxkYaDv/SGqd7eHl8HA2ZejVnym3l/hFwlFV811/6vyiGpSeF3L6gi+Qv19zpk0PRSv1fRswpeNSyOHklN+1eoL3WEbY68ih2z2Y1jr9G8UCEHZ0+SumtdB93OGFMSYcQTuQ4p4H/AdyI19saEjwljaOMTcIaAkmUoBdxk=; 20:B/ivj7I/u57iaQmfvHVeFMCs35NTU1bn5LHzYTK4DV/U17XtyKD7aoLrie/qOAQg+THo0IVXMI+KgjjpYDvXjwP9xBKOdFUM+0h6lJIgHR253iWsYUcCGoBkPD3JAZPCFBBttgormS+5DsoFheyH8tjPHj6zvpfnPzUNjsLHgBWODfLZoNfFjJIxT8/NfBZ86hVAGF5itdi8CP6wHDZPNiDqUReA8fegUuW93Vtm7oBDLUPo1AJpLVwCS3UpXd+bKvoQ0EW5MRqR9UdE/+6veAx0P0KmXXDWTPENX47FpNAPIr7evYliMcwnNVtoCdiJku15o19IbGdcX8uqjCp0462+scNSajFVZf2UJKxzZt1R1hQCkodIne5UF3/wVLb34AC0NCb9pY1XqRchXfgzr8eJ6M5tYXWYCxrcotjq1f8SeqzXU4DpvEPXPiuZHmcT9q6HLmFrsFmMdjPHv+uvM7gLRY3Ugqj+D+LVjPNqInTuv4v7hfdFuZBpwqa6K1RQ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(3231023)(10201501046)(93006095)(93001095)(6041268)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:SN1PR0701MB1950; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:SN1PR0701MB1950; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1950; 4:MIuGJqPcwmjDkRkdUBjET/mIfWeycUQfTgN45ixnZnjZPZontpYxloTWhSF//tiaSzD1rW+9YeUz+3r4GgE203OxMbpEmndYtHjcsnWvR59lNsVx0Rd7EWCCqxTWDJO09Tn/DoPsIHYzvw7UHqoNkLu0T89uXbb+75+vHYvoXWUNoLXNyZOnRZZ/McyOj0bGW5xg2LNbYFviSPlzPLgU87DaimYW/lHeLyg4M4t8IEQ78FPU4r7Jp2N9o0YUTh0au+bBmWKrnk8y6DebJNHg4A== X-Forefront-PRVS: 0527DFA348 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0701MB1950; 23:rsI5tEu3BP55sguGC7EAZPSE1BI7AedScr6cVCf?= =?us-ascii?Q?dKRYUoT2eOW3IdLo30cif+e0+6GxTXSSCkUwfqVWekVklbPmu2iAvbRnZtg1?= =?us-ascii?Q?kZM/c2dkX4g4suH1KIzJxSfFdc3D/AtECF5arDNiZnn57a0bzuRwoEDiFPPH?= =?us-ascii?Q?HhJBbToO87pPQGJfsusW4Qilr6T8XloqFnGkCmuUpisI59DlhKyX404Xxq3s?= =?us-ascii?Q?hQO7UAm3i3fmeo3t0eVSqYoNn0cQTy0XKF+zBvZgYiZtMi94RZjSSm4fyneV?= =?us-ascii?Q?4Oj5ltmYNpNTjYCklCGk0aoz4JYsDnzxMEX8P5HIe8UB7/95zNG+VsISJh6E?= =?us-ascii?Q?ELbOVQurNkLP7I/XhOqCovY7whzUdbwFjd7oL7YmFHH/x3f3Of44DHfZ+oiP?= =?us-ascii?Q?rY46C8JmZzGHprfnY6T3cQg8H6sWvBa4VcvPePP3mgBxRE5/koenClZV4HqW?= =?us-ascii?Q?oSS30HioGc8FsUgcLxh+1mHQEs9zZHezIVowJs7m8irOQVtjRaBRzO5rG1qz?= =?us-ascii?Q?PfMC6bz+vUzPdvuMtqdcMn6nmGAfBpOOAhm4hiLWulFPFGRwPF32VHGHR3rd?= =?us-ascii?Q?uEIOC3VydWcXVJzCcbcbifTs2O5Y5fkLN5nSt6QBoNd3o/NMNQHPV+23E9Pb?= =?us-ascii?Q?sUyknmQkReq8P7SzSQ6UMgNl3T0SRIBqc6Jzp1rsqGFvWuhiolhknLmqVQxj?= =?us-ascii?Q?8acex4onxp/UkEPKj/YUsbTBeNDIre+SMQmTSLLbVhPDhPEZQBwdZCpR+iWK?= =?us-ascii?Q?ij7lpipTareoMfsso9z7N2a/KlqQk0TOsM+UXbIJD3aTyR3jcG7Tb7+CXnh3?= =?us-ascii?Q?kmOsaRHXjZWpX2Gyjakl6sdVrBblv/lgEWsX4uPaZk9HBSoHSAxe1IgOJF3t?= =?us-ascii?Q?cBYujdovRteXsZr7Qj4NXoyylzLbh8aYnmGSvhAUV8JyCekgRxxKIqnGZTmP?= =?us-ascii?Q?Uw4iS8W12cDKl9qvtWh19THJ885KDpCfcfZ6SC9U6UGM5uh/2T4hNzYGxdB2?= =?us-ascii?Q?gacQyfy4LnZyitw2TOzSQ4Z6ljKLseib0F3m/Sgu6qngKzA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1950; 6:zkFJWYXWH5HGzAdXT9J+EwdmlXMwE+sb27jdvoh9iW48JYEueNvBv0rsDB8jGQTXtzqmVtqvlxl/5qSbMg7kkniw2kOvPgX3OiH2KYh61MbYS81Cr3Byp5M0PcAjtKGIWbKISFo3D0jbA5FIDIYPs6ZW2D8cP+6C4+1mWu3sflzgQOtbdHR90GyZViRDRn/japzMt1z5Go702WkD2p0JYC/kVFdu/w13vw2h1xCrOr1d+KaEiwsWmxYaDgOB4/8yQxNJ7Sa/fiB8UW/F8jkgOzkYxfzigOQ57DuOXWGsqZYd95//3VWw3QxPPwlXoBadgDvtraStTi2FW6VPZA2Mz84XvFGlrtwTTcRj54YrnqY=; 5:TcO9DA/nX5m7zK15ofsSdSvJxAm6w3gZaGzuR8m9G4SUjG6GOIbKEatuskTKZMoWJVhsMwvV6vw+HxpD5tYudr7fqXXWkGILZdz07etayIsD/x+fV7qNKTeXHhvHeAj0GUjYhym1O4iq2LfHZEsqGrtCS6nJRyv2XLdpJrRXQB8=; 24:qJQ/YHzQd9gJD1MbletgqrzfvmO3NQt4lIdKzKr89wiIupvuYRk6fqUXn8HsDJFhF+rOeT5bdh1K+FH5+JGxZbZcrSxZt2uEReZFV70Tbe8=; 7:a3v4NdRX448ktlAryE05MCvcBJ4B/uL1Ovz2SHGNzp8AwPPUlE1WTEwNIYIgDo2hrL9gEls90C1qZFAm/1m+ABG/8Pf9JaS3SgdtUCWJpfzApLlFqGhHJ7xx6gmbk33EMXUuJhbt7tE7GkOT+4CwxjlE17LA9DP7XMSw5346hzBHn1jiINHWEVmss7IP+z8bSem5UrQA43MpZxC8O0AlRk5jeBk/QGb+6CxpH3jwYx97+wV9OJYapQwqTy5stuEV SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2017 06:57:23.1979 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8b3d13f6-8719-44d7-0117-08d54776ec19 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: SN1PR0701MB1950 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: Quinn Tran Immeadiate flag is not used for scheduling session deletion. Remove it to simplfy session deletion code path. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_gbl.h | 2 +- drivers/scsi/qla2xxx/qla_init.c | 10 +++++----- drivers/scsi/qla2xxx/qla_target.c | 16 +++++++--------- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 91db1924ca79..ab8ffd7933c9 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h @@ -888,7 +888,7 @@ void qla24xx_do_nack_work(struct scsi_qla_host *, struct qla_work_evt *); void qlt_plogi_ack_link(struct scsi_qla_host *, struct qlt_plogi_ack_t *, struct fc_port *, enum qlt_plogi_link_t); void qlt_plogi_ack_unref(struct scsi_qla_host *, struct qlt_plogi_ack_t *); -extern void qlt_schedule_sess_for_deletion(struct fc_port *, bool); +extern void qlt_schedule_sess_for_deletion(struct fc_port *); extern void qlt_schedule_sess_for_deletion_lock(struct fc_port *); extern struct fc_port *qlt_find_sess_invalidate_other(scsi_qla_host_t *, uint64_t wwn, port_id_t port_id, uint16_t loop_id, struct fc_port **); diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 49a8f2666f55..3e03c264f7bd 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -352,7 +352,7 @@ void qla24xx_handle_adisc_event(scsi_qla_host_t *vha, struct event_arg *ea) ql_dbg(ql_dbg_disc, vha, 0x2066, "%s %8phC: adisc fail: post delete\n", __func__, ea->fcport->port_name); - qlt_schedule_sess_for_deletion(ea->fcport, 1); + qlt_schedule_sess_for_deletion(ea->fcport); return; } @@ -529,7 +529,7 @@ static void qla24xx_handle_gnl_done_event(scsi_qla_host_t *vha, ql_dbg(ql_dbg_disc, vha, 0x20e3, "%s %d %8phC post del sess\n", __func__, __LINE__, fcport->port_name); - qlt_schedule_sess_for_deletion(fcport, 1); + qlt_schedule_sess_for_deletion(fcport); return; } @@ -601,7 +601,7 @@ static void qla24xx_handle_gnl_done_event(scsi_qla_host_t *vha, __func__, __LINE__, conflict_fcport->port_name); qlt_schedule_sess_for_deletion - (conflict_fcport, 1); + (conflict_fcport); } /* FW already picked this loop id for another fcport */ @@ -1136,7 +1136,7 @@ static void qla_chk_n2n_b4_login(struct scsi_qla_host *vha, fc_port_t *fcport) "%s %d %8phC post del sess - out of loopid\n", __func__, __LINE__, fcport->port_name); fcport->scan_state = 0; - qlt_schedule_sess_for_deletion(fcport, true); + qlt_schedule_sess_for_deletion(fcport); return; } } @@ -1782,7 +1782,7 @@ qla24xx_handle_plogi_done_event(struct scsi_qla_host *vha, struct event_arg *ea) set_bit(lid, vha->hw->loop_id_map); ea->fcport->loop_id = lid; ea->fcport->keep_nport_handle = 0; - qlt_schedule_sess_for_deletion(ea->fcport, false); + qlt_schedule_sess_for_deletion(ea->fcport); } break; } diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 43e210757840..6b16f0dbd588 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -1211,8 +1211,7 @@ static void qla24xx_chk_fcp_state(struct fc_port *sess) } /* ha->tgt.sess_lock supposed to be held on entry */ -void qlt_schedule_sess_for_deletion(struct fc_port *sess, - bool immediate) +void qlt_schedule_sess_for_deletion(struct fc_port *sess) { struct qla_tgt *tgt = sess->tgt; @@ -1250,7 +1249,7 @@ void qlt_schedule_sess_for_deletion_lock(struct fc_port *sess) unsigned long flags; struct qla_hw_data *ha = sess->vha->hw; spin_lock_irqsave(&ha->tgt.sess_lock, flags); - qlt_schedule_sess_for_deletion(sess, 1); + qlt_schedule_sess_for_deletion(sess); spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); } @@ -1262,7 +1261,7 @@ static void qlt_clear_tgt_db(struct qla_tgt *tgt) list_for_each_entry(sess, &vha->vp_fcports, list) { if (sess->se_sess) - qlt_schedule_sess_for_deletion(sess, 1); + qlt_schedule_sess_for_deletion(sess); } /* At this point tgt could be already dead */ @@ -1437,7 +1436,7 @@ qlt_fc_port_deleted(struct scsi_qla_host *vha, fc_port_t *fcport, int max_gen) ql_dbg(ql_dbg_tgt_mgt, vha, 0xf008, "qla_tgt_fc_port_deleted %p", sess); sess->local = 1; - qlt_schedule_sess_for_deletion(sess, false); + qlt_schedule_sess_for_deletion(sess); spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags); } @@ -4541,7 +4540,7 @@ qlt_find_sess_invalidate_other(scsi_qla_host_t *vha, uint64_t wwn, * might have cleared it when requested this session * deletion, so don't touch it */ - qlt_schedule_sess_for_deletion(other_sess, true); + qlt_schedule_sess_for_deletion(other_sess); } else { /* * Another wwn used to have our s_id/loop_id @@ -4554,8 +4553,7 @@ qlt_find_sess_invalidate_other(scsi_qla_host_t *vha, uint64_t wwn, other_sess->keep_nport_handle = 1; if (other_sess->disc_state != DSC_DELETED) *conflict_sess = other_sess; - qlt_schedule_sess_for_deletion(other_sess, - true); + qlt_schedule_sess_for_deletion(other_sess); } continue; } @@ -4569,7 +4567,7 @@ qlt_find_sess_invalidate_other(scsi_qla_host_t *vha, uint64_t wwn, /* Same loop_id but different s_id * Ok to kill and logout */ - qlt_schedule_sess_for_deletion(other_sess, true); + qlt_schedule_sess_for_deletion(other_sess); } }