From patchwork Mon Jan 2 10:40:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9493333 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 895FC62AB3 for ; Mon, 2 Jan 2017 10:40:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93C6620008 for ; Mon, 2 Jan 2017 10:40:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86F2D26212; Mon, 2 Jan 2017 10:40:38 +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 E2A0920008 for ; Mon, 2 Jan 2017 10:40:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932828AbdABKkg (ORCPT ); Mon, 2 Jan 2017 05:40:36 -0500 Received: from mail-bl2nam02on0047.outbound.protection.outlook.com ([104.47.38.47]:1187 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932482AbdABKkf (ORCPT ); Mon, 2 Jan 2017 05:40:35 -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=TDcvRaCwDlFONH4UwuwYkgFoz8TdDFaud9QWWiMUMpw=; b=uKWGaPoTvkCSYDPbJ6O1GYLdFwQ0cELvcb0Qu38eXAkXA+tC0qXXUvE5B/Wg56hqKTgaZQ7eGqiiqZXqIEZuCCq6JuV3WWTbmvStCWe8nm054K5USTvRMHxdJLRf9wwBjt5cWawyXJkd08JAdlaKJe8O4D+VIYKC2ZI9Y90Uoy0= Received: from BY2PR02CA0093.namprd02.prod.outlook.com (10.242.32.51) by DM2PR0201MB0989.namprd02.prod.outlook.com (10.160.219.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Mon, 2 Jan 2017 10:40:32 +0000 Received: from BY2FFO11OLC005.protection.gbl (2a01:111:f400:7c0c::173) by BY2PR02CA0093.outlook.office365.com (2a01:111:e400:2c2a::51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10 via Frontend Transport; Mon, 2 Jan 2017 10:40:31 +0000 Authentication-Results: spf=pass (sender IP is 74.221.232.54) smtp.mailfrom=sandisk.com; mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=bestguesspass action=none header.from=sandisk.com; mellanox.com; dkim=none (message not signed) header.d=none; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 74.221.232.54 as permitted sender) receiver=protection.outlook.com; client-ip=74.221.232.54; helo=sacsmgep14.sandisk.com; Received: from sacsmgep14.sandisk.com (74.221.232.54) by BY2FFO11OLC005.mail.protection.outlook.com (10.1.14.145) 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; Mon, 2 Jan 2017 10:40:31 +0000 X-AuditID: ac1c2133-ba3ff70000000ec6-47-586aa916bc4e Received: from SACHUBIP02.sdcorp.global.sandisk.com (Unknown_Domain [172.28.1.254]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 9F.47.03782.619AA685; Mon, 2 Jan 2017 11:25:10 -0800 (PST) Received: from ULS-OP-MBXIP03.sdcorp.global.sandisk.com ([fe80::f9ec:1e1b:1439:62d8]) by SACHUBIP02.sdcorp.global.sandisk.com ([10.181.10.104]) with mapi id 14.03.0319.002; Mon, 2 Jan 2017 02:40:31 -0800 From: Bart Van Assche To: "dledford@redhat.com" CC: "andrew.boyer@dell.com" , "monis@mellanox.com" , "linux-rdma@vger.kernel.org" Subject: [PATCH 05/15] IB/rxe: Remove superfluous casts Thread-Topic: [PATCH 05/15] IB/rxe: Remove superfluous casts Thread-Index: AQHSZOSjl6xXRj90b0OEZnD+dzO0QQ== Date: Mon, 2 Jan 2017 10:40:30 +0000 Message-ID: <1483353522.3592.22.camel@sandisk.com> References: <1483353316.3592.14.camel@sandisk.com> In-Reply-To: <1483353316.3592.14.camel@sandisk.com> Accept-Language: nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.28.1.254] Content-ID: <4C7ACAC2530EC845A384691A9ED8EE3E@sandisk.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKIsWRmVeSWpSXmKPExsWyRobxn67YyqwIg4WL5Cyute9jtXh5/gOr xbNDvSwWG96vYXdg8Zg0cwazx7Pph5k83u+7yubxeZNcAEsUl01Kak5mWWqRvl0CV0b7v+us BYu4K44da2RvYPzD1cXIySEhYCJx+eI8ZhBbSGAJk0TDakkI+zyjxIltKSA2m4CRxOwJe1hA bBEBfYlDq1cydjFycTALzGWUWH9nKTtIQljAXOLKzkVsEEU2Escu9DJC2HoSn9ZdYgWxWQRU JDoXPAUbxAs09MyvS1CLjSROdj4Dq+cUMJY4Pv04UA0HB6OArETLa26QMLOAuMStJ/OZIG4W kFiy5zwzhC0q8fLxP1YIW0Hi84p/bCCtzAKaEut36UO0Wkn8ftjCDGErSkzpfsgOcYGgxMmZ T1gmMIrNQrJhFkL3LCTds5B0z0LSvYCRdRWjWHFicnFuemqBoYlecWJeSmZxtl5yfu4mRnDk KRrvYPy3wf0QowAHoxIP74KbmRFCrIllxZW5hxglOJiVRHhb1LMihHhTEiurUovy44tKc1KL DzFKc7AoifPKH9gdKiSQnliSmp2aWpBaBJNl4uCUamBs19vx7ua0psqsTvYYg12fF+wv1BS7 2vx3wmd9pT1V8lJTq3Xamfo+qx+rLzS7cPrB34rvosIT08X4t875eJGnKkHsQvg8J/vH5bJK M72fLNz/oWe13bqcdJZ4y5mVVhnx924WcvRlVSxvbbz+VXRSZKPEpkvSRQrMyV80fn+z9L9U teVK/1QlluKMREMt5qLiRACI2+SQuAIAAA== X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:74.221.232.54; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39850400002)(39410400002)(39450400003)(39840400002)(39860400002)(2980300002)(438002)(199003)(189002)(76176999)(54906002)(189998001)(2351001)(2900100001)(54356999)(92566002)(7736002)(47776003)(50466002)(356003)(305945005)(8666007)(97736004)(50986999)(68736007)(106466001)(1730700003)(5660300001)(8676002)(36756003)(8936002)(38730400001)(81156014)(2950100002)(106116001)(33646002)(110136003)(81166006)(69596002)(2501003)(86362001)(102836003)(2906002)(5640700003)(3846002)(2270400002)(4326007)(103116003)(6916009)(6116002)(23676002)(626004)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0201MB0989; H:sacsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC005; 1:75YzNkUG6vu8BIyRP0XE0LKCFDS+HtcpbiYq0uev5AiJLcHFhWoP20tsYsw2SHIXkioQWGlb8GTPRa8Bw+9dX88+OUhaMUtAwnrq9nQMpgb3yW/YyDMzmdQubUx+70jAYwBxenpw1IhdwcJHWW+VhFyYX3L0FACl49b66/8JEAaBLN51tWpiblQvDgIMoUKxdyFBETpK6qukP696xenmXR5K7LlVa0nN09Vj467OtiMSDg90Nlh7g2LbixynRLu7AgM83xNq6CRJfhXJkRrVl9O0ixPqXw4/7OqmAWFT3DgmFXJfffJlFNa9R94miGcfWlMoX72K1dqsN+muK7/kEqFAD4u8cnqwPp31glNdhY5djzUBF+Vla4CZE7VQTwka0gqpiEkb6S1bpo2Ed0P9gw9Gp+3+q9bUQKJ8P8xb+GKD/Wy02eL8HqXAY8nM8EMB+g5xk4XdOkP14oMYiyMJMTmT/YPf1KgSCMSY9LrXEyq+wtLOf2xptEbuF4e3HvetCoF1F59UhJeTyoF0w2XdITxAXu8f17KBWSoqZEYgKVq91M29fFYojT/8HCg7AckS5ErcnHE29lKBW6wp0a2DEbmvOKAaZlYip0I9BnfLd80= X-MS-Office365-Filtering-Correlation-Id: a5f68edc-3c1f-4bc2-e091-08d432fbc6d9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:DM2PR0201MB0989; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0201MB0989; 3:G+Uja4IHeSvoEzCPk5TMEVozsRljvIeOYX4tD6iry+6zb6efFACcEyJHFXZo4OCRKMFBuTpVF0dnrr94M4rb2uKBTZgYesbXqqQO2+OhkYHiuvh1weyWWv417T/MTlg2qfMMdCRV7xVKID+2J9ul8rI0a+sx4PpdKopeQldUyYGv19nKCXj/k10PazZDkHoXdHxbHRy8pW3u0ltgdLkXiDWGh3iu0zSC8CKobg2JdH82g09AVmWT4W8XfSeRYWuoHxBmK8dcYk/JrxeKEhOq8/u7ccTzbWQK3JvGO/slsdLvQftaLt9ymo/+UDPpIr7B23egSIolPX7zAPv7CPfeWUN6NTZP70OZPdUB659scfdbeGwRNGUwjKc8J/A998Zpk5zW5DKciJxeOBNK2iWbMA==; 25:5a9jPE5nnnFL9RU5YGdAT3gVk/bN8ywJUHbZgknIp5OfUvA15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Kjbxhq0vfE0GeYKz9k0nAkLo/JhEJ6a249m/QuzN39fJ5EHTpAQgX9qJJgz6H1hDNYNXfwmwn27ZD1oPPgeBx5e+7Ry+iys3Azo5LJczlR37fUyrveTB8h+d3+1EL9ZzXS3ZO+ZLfn9PelOw6+FEG9zkEB1cut/PcpTnn1HCFWjG1ozjYRPqgVl X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(56004941905204)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13017025)(13015025)(13018025)(13023025)(13024025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(6072148); SRVR:DM2PR0201MB0989; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0201MB0989; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0201MB0989; 4:RO7HLtn3OTLC0QrA6uJjn/YrmT1v0o8CGIE8KAUfBxnXhTYo/jx/pFs/ef+HKcAztosMjiSEWmZ/t2cZQ2MvmKutXARo92iKkXOBRPfY9cMDEV189vcvtaPD3idekFeeB6a4YLHNMAx13itgZT2kPyCQuDXooZAOhJ1GIOQR9RQcmnOkEf/6pSlftCNuPcgiYfkM+q469j1To178VcnyheyiVMATC4MJwaziSV7U+/P9hnQr+Q89K2GjBYTXhJ4WO73saVHUykfcnXq2xtkSEEMDSctBiMssAYe9omlYM+eN53wYI9PVjsZj91eYzajYn4osi0yixUnzeYbgS2eS4cClBN2+JSnF4uzgpS818rHKbKPR/o8D4y+2NlAqbPDSwTXLYUCphvmL4BWOW18j3WYiQtcE3PCt+c28i17UFWNOsWACkXTg0PEYSAtchRllyuZ+2IAR8/eyBnTqHS8KF7/riKSNy4rUw2QQDSmiXxo7a41BwUHxoDLy1D8FnINymb8SdArcAZ6oqMH1venDo2AvZPQBWKBcpXf+qiRUSC1Shil2QkoUBCmVPvc7fZZEeCM697KC16di7EeyHwDEVs2iHUQV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diagnostics: 1; DM2PR0201MB0989; 7:LMNmFajdxAxCDrEdNF9cMlEERR8HD7QvdByyvlxbtfXzwJfF9ZV2lrpENrS9WVikmikeCuXAesc914aRYC1AmMqT8m2mph68vpXn2UFHxBxVFpvy3q+6WFPhDvq7xiGVKV9QkLGreOxrYeHRblnu3U0pYjfcIdizb1RnhoA+xYyqzm/LcBWFGaI3afqUWreXFyqHE6psr9AAXTJOvr5CoO3foYBe+Zu3RN6KR7Uwit2K2ebetP3+NVxOwIo/3yGhD2xrnTweCBcP3FCQSk8d+9fQF+A43XrUhPNo4DaCxVUL4ggmfmpdVNsAyeNxGwfao0CD4ZbRLdTkO6wftRDxR3IScqAphnS2U8gYmZXMcpUUUiKFL19X7qwIEMIfgqm9WpY85r1WTotFWFNg0USymTl4hxqLqxZwrIA+zVIj/+W7EIdSXcHJKtTQuWSIlN/xyPl2jOxOxOAHWkCWpaI+Ag== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jan 2017 10:40:31.9806 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[74.221.232.54]; Helo=[sacsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0201MB0989 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Casting a pointer to 'void *' explicitly is not necessary in C code. Signed-off-by: Bart Van Assche Cc: Moni Shoua Cc: Andrew Boyer ---  drivers/infiniband/sw/rxe/rxe_pool.c | 4 ++--  1 file changed, 2 insertions(+), 2 deletions(-) --  2.11.0 Reviewed-by: Leon Romanovsky Reviewed-by: Andrew Boyer diff --git a/drivers/infiniband/sw/rxe/rxe_pool.c b/drivers/infiniband/sw/rxe/rxe_pool.c index 4fe11148b304..7d1e2862b928 100644 --- a/drivers/infiniband/sw/rxe/rxe_pool.c +++ b/drivers/infiniband/sw/rxe/rxe_pool.c @@ -454,7 +454,7 @@ void *rxe_pool_get_index(struct rxe_pool *pool, u32 index)    out:   spin_unlock_irqrestore(&pool->pool_lock, flags); - return node ? (void *)elem : NULL; + return node ? elem : NULL;  }    void *rxe_pool_get_key(struct rxe_pool *pool, void *key) @@ -490,5 +490,5 @@ void *rxe_pool_get_key(struct rxe_pool *pool, void *key)    out:   spin_unlock_irqrestore(&pool->pool_lock, flags); - return node ? ((void *)elem) : NULL; + return node ? elem : NULL;  }