Message ID | 20170202005853.23456-31-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 7598060236 for <patchwork-target-devel@patchwork.kernel.org>; Thu, 2 Feb 2017 00:59:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 611A52844A for <patchwork-target-devel@patchwork.kernel.org>; Thu, 2 Feb 2017 00:59:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 560B228456; Thu, 2 Feb 2017 00:59:35 +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 DA3E82845B for <patchwork-target-devel@patchwork.kernel.org>; Thu, 2 Feb 2017 00:59:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751420AbdBBA7e (ORCPT <rfc822;patchwork-target-devel@patchwork.kernel.org>); Wed, 1 Feb 2017 19:59:34 -0500 Received: from mail-sn1nam02on0066.outbound.protection.outlook.com ([104.47.36.66]:47365 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751308AbdBBA7P (ORCPT <rfc822;target-devel@vger.kernel.org>); Wed, 1 Feb 2017 19:59:15 -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=AMG/YhLzf7V4LFyOS/H2Ca+VX24Y4qX6SCy5PALF8oA=; b=d2v+uiEKriseh9WAKrEkJRDm2SL43u2Sq2qcDXWtZZD8MDbUVgdg/KVbi5VgXnsG2JAMOlvTdQFexALAJZCAt538cSkPuYLkrJHENJNl1LOzlPFPkM+/Accw8Sd8OXvJTaaA6HnEV+sF2bYVPnNG9/KXTZVgwe9qfEnk1YCERKc= Received: from DM5PR02CA0067.namprd02.prod.outlook.com (10.168.192.29) by BN1PR02MB039.namprd02.prod.outlook.com (10.242.210.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Thu, 2 Feb 2017 00:59:05 +0000 Received: from BN1BFFO11FD001.protection.gbl (2a01:111:f400:7c10::1:131) by DM5PR02CA0067.outlook.office365.com (2603:10b6:3:39::29) 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; Thu, 2 Feb 2017 00:59:05 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BN1BFFO11FD001.mail.protection.outlook.com (10.58.144.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.2 via Frontend Transport; Thu, 2 Feb 2017 00:59:04 +0000 Received: from MILHUBIP04.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 8D.BC.01420.F0282985; Wed, 1 Feb 2017 16:49:19 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Wed, 1 Feb 2017 16:58:57 -0800 X-AuditID: 0ac94371-7ee9b9800001058c-aa-5892820f8d28 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id F3.73.16817.15482985; Wed, 1 Feb 2017 16:58:57 -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 v2 30/36] target: Remove unused arguments from __target_check_io_state() Date: Wed, 1 Feb 2017 16:58:47 -0800 Message-ID: <20170202005853.23456-31-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170202005853.23456-1-bart.vanassche@sandisk.com> References: <20170202005853.23456-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsXCddJ5kS5/06QIg2nNuhb7Zz1jsvj6fzqL xcrVR5ksWpe+ZXJg8dh9s4HN4/2+q2wem09Xe3zeJBfAEsVlk5Kak1mWWqRvl8CV0fBvO0vB V96Kr09eMDUwHuXuYuTkkBAwkTjftYO9i5GLQ0hgKZPEv44XrCAJIYHtjBLzrmXCFJ1b/44V omgzo8T1O/vYQBJsAkYS397PZAGxRQQMJH73XmAEKWIW6GCUmN/zDGySsECEROunVUA2BweL gIpE01uRLkZ2Dl4BB4klURDj5SV2tV0EK+YEii4+DjFRSMBe4tufoywgEyUE2lgltu79D5bg FRCUODnzCZjNLCAhcfDFC2aIBnWJk0vmM01gFJqFpGwWkrIFjEyrGMVyM3OKc9NTCwxN9IoT 81Iyi7P1kvNzNzFCgrpwB+Pr296HGAU4GJV4eAVEJkUIsSaWFVfmHmKU4GBWEuH1bQQK8aYk VlalFuXHF5XmpBYfYpTmYFES52193R8hJJCeWJKanZpakFoEk2Xi4JRqYKyY2W59dl7jvcq4 lWYb9pdm2uQvsDJuZbTW8DbneMG9pl7jwrYghzdNB7Lcf2RJLpsan/39y/SY/VvtJ3/7xa87 obu5OiLS5vXEeuXTLdeu+4R3x31/XalWkKvHaP6w9VqeyOXfsjbMG5VluFuF11SdED4itOMf p+SuOdevCkl/r4uYX7AzW4mlOCPRUIu5qDgRAIIUHG9mAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGJMWRmVeSWpSXmKPExsXCtZEjRTewZVKEwfwGZYv9s54xWRz82cZo 8fX/dBaLlauPMlm0Ln3L5MDqsftmA5vH+31X2TymrTnP5LH5dLXH501yAaxRXDYpqTmZZalF +nYJXBkN/7azFHzlrfj65AVTA+NR7i5GTg4JAROJc+vfsXYxcnEICWxklOhb9Z4dJMEmYCTx 7f1MFhBbRMBA4nfvBUaQImaBLkaJTWdOgRUJC0RItH5axQpiswioStx+18sEYvMKOEj83PGe CWKDvMSutotgNZxA8cXHIYYKCdhLfPtzlGUCI/cCRoZVjGK5mTnFuemZBYaGesWJeSmZxdl6 yfm5mxjBIcEZuYPx6UTzQ4xMHJxSDYxhCUcmnlizV+GRs8jjTy3FRy65S4okfVjcd4/BT/j6 vJCQpb3iDjMFLMWvqMjGH//SdPLEf7GTUrOdl17le7jjQ+Guu6cSdE+IhK5n/KY1kbd30/Xz HsX5sSLLXz3c8fZMTxfjY2WmiC2Td/ZJG26fWyryzH8f1/Xgq1K3vbMFfgd+epBdUBCsxFKc kWioxVxUnAgAVMR0RrkBAAA= 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.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(39410400002)(39840400002)(39860400002)(39850400002)(2980300002)(438002)(199003)(189002)(6200100001)(189998001)(6666003)(4326007)(1076002)(38730400001)(2950100002)(50986999)(77096006)(5660300001)(97736004)(2270400002)(76176999)(33646002)(106466001)(626004)(110136003)(8936002)(1691005)(54906002)(48376002)(50226002)(5003940100001)(36756003)(47776003)(50466002)(68736007)(81156014)(305945005)(69596002)(2906002)(7049001)(8676002)(86362001)(6862003)(92566002)(53936002)(81166006)(356003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR02MB039; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD001; 1:SF9gqW6VU0XpqALfGBTAqGDRmcwdkoTnSSI3jwNOYBKyM+CdZ+OjRpM0oAF+oCX8VZKG+jAJrBVRg6nxKtUCI9No6iZ83ejqwIjFC6kvuL3NPmHeVopx+/y898MSQrvCwuOMSaUOT4vyGEG4yox7wYy6nphCj4pxqNsUorBaEw5yigThI8H9xbpRrIN5PWPHsW8ZGRACIYH++9A1iG/qXLGARuyO4e8JUlNHSxjQw5XwO2YdhWs9C/18tov7w1fZR75d7TwsIC6Ks2p2gj982wDM9DsZaNgePc0Kbyv88MLs1vqLBEtBPTqiQWAYb+QQkGfgery1wIizDqK9IrCZriJMvt6b+JinIqe5i6ck+z6tesvXXjMVsSk4p395xK2FxX9IvyAOPTu2tGQC8MTTyk/EXFWKqLRHXqCNjTM6rHy/kPOyu2qPfOnJQofSmMvMg95PWxS4nPPcNvWRSdgWLiQoVHhvLu/fiRi1pUAjMt+TQUkWQA3czxKbCkQ1qUe8 X-MS-Office365-Filtering-Correlation-Id: 0a28091a-4eb6-4b78-e00c-08d44b06af78 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BN1PR02MB039; X-Microsoft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H+mwZlKxnqpkwF8gUueXb2ddntPYqDMJPvaRP3icWcx8nWwB2KaTxJ4fupxn3H+Dfz0HkUO0POxrV/n58pZ8UurSZaYreHuJvBtbvqqne8YzfrrOS4QKv94DREh4BRyV3PrSQmU/t1vYp+EzMBO04FV0IMnewempAx/QdbJu/TYop X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB039; 31:kw7B0B7CNZUPmw7o7LwSWAamzgieoxCBwUI3c4Md9MJBK2ARHK5xfCXvr++sppzm//8DY6EL36jNBKLgF17XINpNrs0g5IwguT78jTylBtjhUnzCY2L6Bhn0xY9kcWp3uvcp7rN41/CPyJHI2wGeVadn36CZ6Fx4uO6H6TYadLRqxu71Zlig3ZnLPtdnZc1aFLQicMZfb2Fg1rTywZbxFCoR/DdeXzONf9YVrWTT1wN5cdpGUzKCnI4XCFJMX5MoxELOcs5laX1SPE1shYtn3A==; 20:omj5Bmn4UuX0pEw4bAtMS82BcewUkMn0hffnyHHFkVmnPNyoU1z/q8WfJapDyuvC5SH6ku0a9cbTG+xbAwa0pXQzUoAbr/cVy1CSEeGNzF6eBk9T8PI2bwbidY5iTOuIWrLzmcE17pXFyCTs+jmBQpvRgjvowZS5m57SDHRXJtzRBbKQ0mnseaEKaVWVmJCtlQTw9UZprUjxgPP2QiYkx1617al/9Vv8UI0lml1cWduphy8qFqH3LtFeFIMAmzHY0PFHPzJWhUDCIcZM27wXub4zKhlbW5bXNw4fgx9/quYHOwZx/2LR81NGPRuoAAlLaO7j268CBEo9SH9LRXO/TWBXckGnEpF9OkqRL+bzhts20H7Z47k0Oj7J9eVwP655GOGijutcFJg+GtXkAy6VNNJkKmPcCKMNkqOMIThw0OkvSQaIi1Ynil2Rera6VIy8CgzWrCHUfIKxhmvl+52mz9mylJJjrraKOeRrTDROJ2mNtXVFYRQ6GydvtSy4dW7h X-Microsoft-Antispam-PRVS: <BN1PR02MB0399B2CE333DEC502F7FF29814C0@BN1PR02MB039.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)(5005006)(8121501046)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123560025)(20161123555025)(20161123558025)(20161123562025)(6072148); SRVR:BN1PR02MB039; BCL:0; PCL:0; RULEID:; SRVR:BN1PR02MB039; X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB039; 4:28gnaTIqpHDBjwGr7Vgswbi3+aoKZAqiUbZodLfo7cznLbjBuoGElrqQtx8trXE8eFBWHuhuZnCFkX8Qzz37OYxBTJnh3o1tajVxF2UbjyVey2N1j9vXiSsX4PuykMDztzDzvOpiuLoP0PDnkC8LJxT5U/3cmKFl9HQ5lmuffT3bg8UO1D/0pUBoVpmxjZqu8jMJJhvIEOmRQvqndozRL5D405ZoTy+KIeGMWceWdUmrwAucY37mHpdf1xOmu5rzG/JdhzC4/5ESvS7wts/v/W/UYemq1GrkcuKJaVa+KCQ/he9EgCtWb0KCnyC7wsDJkWQRPUOHwh9EuFwHVwgd1vXoRl1bjstI28Ho9qwEllLraruZvluf6fBRhwhTV2ikut+T7l/I2CileoS2JaUrJM2ZkNSaGNOxPe+1xKyKGQqvKGvwrls2xAY6H3/K+Ftp3/MvGvX9erNrTNl7RlKuDQTfIjumeD73yfNIjjIqLqJzQQZmeSDecLEbQ1g7OEjUrPkhqb0ZICo/+djRddnWyjeZTNedWcCFB+rvcS1W09PGB1qIvqlEJT9hqklFSU+a+C14h0AGTwAEWJxviLWhBrX0I7cRUvA0RV3A7mKAPA9Fg98YRjrr7tGbzVYAf8C5gGONqpqivVah9hPzeLp02NoxqJJ94NfFvewsmnek9/Ld/mow/eJXmSOJ7LMoDItZ1JLlhaZMa4YyP0RdksLKLA== X-Forefront-PRVS: 02065A9E77 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR02MB039; 23:4kDn/VCm8pfyH4VTyOWUhW62W6YygSkC49s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Fk=; 24:omydXP61Nu9ARmJ1DvfZcbYqbyxUWNc+wuqQ8zfE6mJI2ov3ymXpKecEb2mW9fnPTeUy31J4dVhkk24YtH4KudkJiZXRhH5IIDJECfz/l5k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB039; 7:cFFwB+y454rJSyCLFF20Aojam6ACtbj4CfdlgmXnOzq38vyYsVIsuamqbPF9fFITjRXmg5BV+9d0aB19zrG0NdSPwIq4J4hH1bC8rZOJXwJYm83s0xLGbYN7X0qOipqx0KJ7+NuGyv35uSqnfNqsiaZN9yd7hTh/skK4Lq4EQp1TsHH0yg8ZIBZ1EQp25gJBGS2Bod+OPkVRox7cRGPNWiBcz2niGZsLI63cNedERY+D/iVuK6+MR/RmJbR1b2xRyfW3z+yVP1y5MAFmkZvAG48ED/fYjMj7CUca0Nc4SenMHg3bDqfjO5hU6VWDtdJ3LEd3uqhXFcq8UA85g0KxBZB+6U7T4KE3gGWPr7IjD4Y+OkH4vI6B3oK6RxqNxsa6XSbKHT3NrfUHb6q1/LeNbbhljEWC8KQflKgTRT32zUoB+zeT5Xl2+G9IQLqWXSWZarWCnd8sVQsyC1cuYezG+1Lti5k4/tdK2CsTA3+45Jzsfr5fzT5km8ypgJxwhM6W3iipyVSEOuqSg7CLfq09h5PLWp/HauvvalkocaP2URHoykt75Qkw0DSIYOCXk9RS X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2017 00:59:04.7223 (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.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR02MB039 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 |
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;