Message ID | 20170125233646.2243-29-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <target-devel-owner@kernel.org> 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 D985D604A7 for <patchwork-target-devel@patchwork.kernel.org>; Wed, 25 Jan 2017 23:37:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF7F727F17 for <patchwork-target-devel@patchwork.kernel.org>; Wed, 25 Jan 2017 23:37:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C466227FB0; Wed, 25 Jan 2017 23:37:18 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 5E80C27FBB for <patchwork-target-devel@patchwork.kernel.org>; Wed, 25 Jan 2017 23:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751207AbdAYXhR (ORCPT <rfc822;patchwork-target-devel@patchwork.kernel.org>); Wed, 25 Jan 2017 18:37:17 -0500 Received: from mail-by2nam01on0057.outbound.protection.outlook.com ([104.47.34.57]:42284 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750853AbdAYXhA (ORCPT <rfc822;target-devel@vger.kernel.org>); Wed, 25 Jan 2017 18:37:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=KHhpFfHGM/bexlxK9i6waLnchXvis3jPGNr6wfgMCmg=; b=GPfnSpz0upqyiQ0R3SI53cX8aHlrcrS+MOfzxd2RP+Nzkep+xAeErpvLSeUCEWUTwrOQra9x1UcGCnDpET3+kwiKSP5bYqXQgQxIxa2fSA9hIGa2G8JfhdRyO9O9/iU0eEopZ/CtpwkK9Qt3p/qeXVxi/iIFrGGleWmII4ZFmEI= Received: from BY2PR02CA0096.namprd02.prod.outlook.com (10.163.44.150) by BY2PR02MB1281.namprd02.prod.outlook.com (10.162.79.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Wed, 25 Jan 2017 23:36:56 +0000 Received: from BY2FFO11FD001.protection.gbl (2a01:111:f400:7c0c::179) by BY2PR02CA0096.outlook.office365.com (2a01:111:e400:5261::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12 via Frontend Transport; Wed, 25 Jan 2017 23:36:56 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BY2FFO11FD001.mail.protection.outlook.com (10.1.14.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Wed, 25 Jan 2017 23:36:56 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id EC.C8.65426.7C339885; Wed, 25 Jan 2017 15:24:55 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Wed, 25 Jan 2017 15:36:50 -0800 X-AuditID: 0ac94369-b62949800001ff92-35-588933c79f6e Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id DF.35.16817.29639885; Wed, 25 Jan 2017 15:36:50 -0800 (PST) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Bart Van Assche <bart.vanassche@sandisk.com> CC: <target-devel@vger.kernel.org>, Christoph Hellwig <hch@lst.de>, "Andy Grover" <agrover@redhat.com>, David Disseldorp <ddiss@suse.de> Subject: [PATCH 28/34] target: Remove unused arguments from __target_check_io_state() Date: Wed, 25 Jan 2017 15:36:40 -0800 Message-ID: <20170125233646.2243-29-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170125233646.2243-1-bart.vanassche@sandisk.com> References: <20170125233646.2243-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCLMWRmVeSWpSXmKPExsXCddJ5ke5x484Ig67jfBb7Zz1jsvj6fzqL xcrVR5ksWpe+ZXJg8dh9s4HN4/2+q2wem09Xe3zeJBfAEsVlk5Kak1mWWqRvl8CVcfOeXcFx 3oqu37fZGhjncHcxcnJICJhIPF23lr2LkYtDSGApk0TDu08sIAkhgR2MEgfXRsMUzT24B6po I6NEx+9JTCAJNgEjiW/vZ4I1iAgYSPzuvcAIUsQs0MEoMb/nGStIQlggVKL92mqgBg4OFgFV icnPckDCvAL2Ek0djWwQC+QldrVdBCvnBIq3nv0JdYSdxPoDrUwgMyUE2lglDk1ZyQTRLChx cuYTsCJmAQmJgy9eMEM0qEucXDKfaQKj0CwkZbOQlC1gZFrFKJabmVOcm55aYGiqV5yYl5JZ nK2XnJ+7iRES1pk7GO8+8T7EKMDBqMTDK7ClI0KINbGsuDL3EKMEB7OSCO86uc4IId6UxMqq 1KL8+KLSnNTiQ4zSHCxK4rxu976ECQmkJ5akZqemFqQWwWSZODilGhhji7yCp/VzGYtL8Inf ldL7MS234Pz7Es3F8Q0nIkU6c44/iMh9XKpbYhbzTPj6aru4V7OXz77Of7Zr0yovlWvz2k56 +7ldV7+9MLx8w/KJYvLPf9bHTOuWvufRLu+RKOj15/pD9rdsMz2d7Z1OhUumZKpcmn+d+9Lu tJebT0i1F71gXSljZ6LEUpyRaKjFXFScCABQZDCnZwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCJMWRmVeSWpSXmKPExsXCtZGTTXeSWWeEwf5HrBb7Zz1jsjj4s43R 4uv/6SwWK1cfZbJoXfqWyYHVY/fNBjaP9/uusnlMW3OeyWPz6WqPz5vkAlijuGxSUnMyy1KL 9O0SuDJu3rMrOM5b0fX7NlsD4xzuLkZODgkBE4m5B/ewdzFycQgJrGeUWLC+hx0kwSZgJPHt /UwWEFtEwEDid+8FRpAiZoEuRolNZ06BFQkLhEq0X1vN1MXIwcEioCox+VkOSJhXwF7iye8b 7BAL5CV2tV1kBbE5geKtZ3+CzRQSsJNYf6CVaQIj9wJGhlWMYrmZOcW56ZkFhoZ6xYl5KZnF 2XrJ+bmbGCHhELmD8elE80OMTBycUg2MgWt7JD40/19eyKHxzPb5V7FdjYW/i40ZV9bradWt 3jPx6avX5VUzT+046R8hMV9hUZXU5BefNu6XeMndnOXGuOF6/R81jdSE41ENS/oN67iVT3xY Ne+kvK/ZyZVHr3w8n7rgvNsMofY5Xz1+uUb+/nfCZUnYtLlvdwqVrKn6tHr96iStMrckKSWW 4oxEQy3mouJEAPbgJDq3AQAA MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39410400002)(39450400003)(39850400002)(39860400002)(39840400002)(2980300002)(438002)(189002)(199003)(2950100002)(5003940100001)(7049001)(305945005)(69596002)(33646002)(92566002)(68736007)(6666003)(2270400002)(1076002)(53936002)(106466001)(50986999)(76176999)(50466002)(8676002)(50226002)(4326007)(54906002)(36756003)(38730400001)(81166006)(189998001)(81156014)(5660300001)(77096006)(356003)(97736004)(47776003)(2906002)(6862003)(6200100001)(86362001)(1691005)(110136003)(8936002)(626004)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB1281; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD001; 1:P/NBMotQ131E9saoPOQvtCxH3DYjooQHH7bC4N35OEcE6uoyVOOQOIOjp5OhPXesibiGZke5LoSl/JygO6trEinWH6/Vnu1u/uMEaTiT6TlJjT2Li+NCPh830S35kbGvLdTPoI3wOcFnyNMcw7ozmV6oNGt+B9NDTu89TMu4t5px21sOYNjKcp3B4oBozOzA5okUxpILg7wWTKmbDjjxKiJBOdkidGOF3IWW0Iz8gOTtV+9Wp7YW27adC9Z/FmEpsPKGn86JOeusZGfRTWZIxYEg9RBB46ERV6Qk8l1bqZzlPr8TSOHfzgUjTM9yEULDl4fZE3gendt1Hm0+EE6pAHxB8QA5XNLT/UaaNCf1NakxjxKm4Ue/ftQHdOzEEkH3e+Xfv1b0OBnIO+HPLZo815wP8z9k0vhl//zJSeoay5+q8AoDeaNMlBJia2QB4mu8mzR5aiRGqvXCwBRu91pSRa6xybEvaKqYS+lhkO9NWjz13rvAX9HINt42RMbf2IxM X-MS-Office365-Filtering-Correlation-Id: 622e1383-d5e1-4238-5de3-08d4457b0c9a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB1281;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nxf6rRH1JTak5CVzSN8d7R3CdnvWt3+BKQaritWXsoxWnsEMGEuKVddkBDXXhaxtk/dS7iwAfRamTXIU8tBehWt29fU8UbbInDbvFLOVKSM5c9bhS7c3PmIYnja9Xpq4LiCNgyNU2PL4Ziyh8DvL5V8aPEdq5OYWTVOIj/w==; 20:pnT1n9iYJnvtk06EPQql7xw+WEVtglxZ2sz4Nfpj9QCRbQWQyNHNaCtvlV6F18UTkWTqhERkomQ3fxzHkzjrOy7RTkGWhUROVFPTty7lYZGF8D2zwNVnHVEGZuIQQmPkN31/5sTWjHvUu/ow+zMSJG2oeRmV8IadGAZYFdkrVfAgSd7soLgCkqMFoIgy/bHONw/OEqsXqMm43392UUIsTOuk39e8D8G0J1HbI3kfd44moDPtPhBdDqma7pYVjIBpnMvUXogTYu2PxvnKi5Ki/jK4YlvJ31N354FqyR6sAf5AnW4ltMNhepHZEQ1CLdKvj1QQfVhlkMcPunKLOjShkwpAGXgmW47JEXGRXv20UkFs3j9jQ4FghbYY0dRd3R6TQnUsOrYC601qIV1oLaItwYzzEHPGbGcUSVZX8RhPHEqnS7+qmHAbpNwI9bw+I/F2wkaJaTAbhBZvMZjIGqQB4Rfqqu0i4eiqcrUNBIBLkfsHRT0MWSRxexE7RTvLHBX3 X-Microsoft-Antispam-PRVS: <BY2PR02MB1281216ECCC55EAA1E76CF9A81740@BY2PR02MB1281.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(6072148); SRVR:BY2PR02MB1281; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB1281; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1281; 4:JqpLVh5HChugd1S+NHe4pqYG/ATKl/kqnddM3qMVQCDqd12PXZHZdqLKR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ZVEcyhpLC7asGkiWlHLtnpyg+ng1T80Ol8AmgiwHAeiCNFmZd0LVWchkYL0WdyzaQUgc8F1vma2xSNFgJgspTVLPqVo4X97Yin6rwI47rlvXUo1xF/DVl6nW9MW5LwJ5m5RFmyS5d1rMccIhpYEOsjRFhm4Q2WAmY/vnwNbV5p7uVVMriImfH6LI8GxrplznzMAlYRnhfBCeB9lYXrJzfI75dt4o6eg9W1pVC694a41AQpQP7vUbUYX1N8ucj+ZKZnPTJr0EljBAxzy3xyzFrB2iuIFT1VdLeJZHLoYFAfkdzQ+3ZlglKu+RyY+Sxy2t4A7OwXh/diZOE0GCL8ipNhmYmx5AFua47xD2tQ== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2017 23:36:56.0507 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB1281 Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: <target-devel.vger.kernel.org> X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On 01/26/2017 12:36 AM, Bart Van Assche wrote: > Remove the arguments that are no longer needed due to the previous > patch. > > Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Andy Grover <agrover@redhat.com> > Cc: David Disseldorp <ddiss@suse.de> > --- > drivers/target/target_core_tmr.c | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes
diff --git a/drivers/target/target_core_tmr.c b/drivers/target/target_core_tmr.c index 614e69ec637f..261031ddd486 100644 --- a/drivers/target/target_core_tmr.c +++ b/drivers/target/target_core_tmr.c @@ -90,8 +90,7 @@ static int target_check_cdb_and_preempt(struct list_head *list, return 1; } -static bool __target_check_io_state(struct se_cmd *se_cmd, - struct se_session *tmr_sess, int tas) +static bool __target_check_io_state(struct se_cmd *se_cmd) { struct se_session *sess = se_cmd->se_sess; @@ -152,7 +151,7 @@ void core_tmr_abort_task( printk("ABORT_TASK: Found referenced %s task_tag: %llu\n", se_cmd->se_tfo->get_fabric_name(), ref_tag); - if (!__target_check_io_state(se_cmd, se_sess, 0)) + if (!__target_check_io_state(se_cmd)) continue; if (!tmr->tmr_dev && @@ -224,7 +223,7 @@ static void core_tmr_drain_tmr_list( continue; spin_lock(&sess->sess_cmd_lock); - rc = __target_check_io_state(cmd, sess, 0); + rc = __target_check_io_state(cmd); spin_unlock(&sess->sess_cmd_lock); if (!rc) { @@ -330,7 +329,7 @@ static void core_tmr_drain_state_list( continue; spin_lock(&sess->sess_cmd_lock); - rc = __target_check_io_state(cmd, tmr_sess, tas); + rc = __target_check_io_state(cmd); spin_unlock(&sess->sess_cmd_lock); if (!rc) continue;
Remove the arguments that are no longer needed due to the previous patch. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Andy Grover <agrover@redhat.com> Cc: David Disseldorp <ddiss@suse.de> --- drivers/target/target_core_tmr.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)