From patchwork Tue Jan 10 19:08:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9508377 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 290FF60231 for ; Tue, 10 Jan 2017 19:12:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D0EF28553 for ; Tue, 10 Jan 2017 19:12:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 11F9628596; Tue, 10 Jan 2017 19:12:36 +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 8F46828553 for ; Tue, 10 Jan 2017 19:12:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936283AbdAJTKS (ORCPT ); Tue, 10 Jan 2017 14:10:18 -0500 Received: from mail-sn1nam01on0045.outbound.protection.outlook.com ([104.47.32.45]:47232 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S936979AbdAJTId (ORCPT ); Tue, 10 Jan 2017 14:08:33 -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=GNn0STxax5P1/yPKR/7Wu9ZhU/ECTu+4Z6wkCv9vZtw=; b=BeN1gm+BWHk5k4ArtA0N/LUYQpqw6BIW1S1n8w8xa7HF7WvbxobzhnNz48leH9vPclDhB/fq9uTHBvj0ulZJ2e2QFkbwjGKhfH/6GZ8+HckUbhvB/pm2VTaXXhPtDgZGT2pfpsK+klyG2Ir4NW4ZQ33+IDEcbC+3cNqaT1bokVU= Received: from BN6PR02CA0034.namprd02.prod.outlook.com (10.173.146.148) by BY2PR02MB043.namprd02.prod.outlook.com (10.242.44.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7; Tue, 10 Jan 2017 19:08:31 +0000 Received: from BL2FFO11OLC006.protection.gbl (2a01:111:f400:7c09::134) by BN6PR02CA0034.outlook.office365.com (2603:10b6:404:5f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12 via Frontend Transport; Tue, 10 Jan 2017 19:08:31 +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 BL2FFO11OLC006.mail.protection.outlook.com (10.173.160.95) 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; Tue, 10 Jan 2017 19:08:30 +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 A7.A9.65426.98E25785; Tue, 10 Jan 2017 10:57:13 -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; Tue, 10 Jan 2017 11:08:24 -0800 X-AuditID: 0ac94369-b62949800001ff92-ca-58752e8974f9 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 18.38.16817.82135785; Tue, 10 Jan 2017 11:08:24 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Moni Shoua Subject: [PATCH v2 05/15] IB/rxe: Remove superfluous casts Date: Tue, 10 Jan 2017 11:08:12 -0800 Message-ID: <20170110190822.16953-6-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170110190822.16953-5-bart.vanassche@sandisk.com> References: <20170110190822.16953-1-bart.vanassche@sandisk.com> <20170110190822.16953-2-bart.vanassche@sandisk.com> <20170110190822.16953-3-bart.vanassche@sandisk.com> <20170110190822.16953-4-bart.vanassche@sandisk.com> <20170110190822.16953-5-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDLMWRmVeSWpSXmKPExsXCddJ5kW6nXmmEwfJ3QhYvz39gtXh2qJfF YsP7NewOzB7Pph9m8ni/7yqbx+dNcgHMUVw2Kak5mWWpRfp2CVwZO2+dYyw4x1Fx9u8F9gbG hexdjJwcEgImEg/fTGXtYuTiEBJYyiQx78cvNghnB6PE8rfTWWGq3q55xQZiCwlsZJS4clgd xGYTMJL49n4mC4gtIqAmsenVIrCpzAKOEpemfWICsYUFrCSmbv8I1ssioCrxb98HRhCbV8Be Yv6uVcwQ8+UldrVdBNvFKeAgMetRPwvEEdOZJPY9b4M64jmLxNyzUM2CEidnPmGBWCYhcfDF C2aI49QlTi6ZzzSBUWgWkrJZSMoWMDKtYhTLzcwpzk1PLTA01StOzEvJLM7WS87P3cQICePM HYx3n3gfYhTgYFTi4X3woiRCiDWxrLgy9xCjBAezkghvKjAKhHhTEiurUovy44tKc1KLDzFK c7AoifO63fsSJiSQnliSmp2aWpBaBJNl4uCUamCs2bRG6abEvMm1z3dIxE1jm6H5VOLPogua HPEfxZuWti18Ns2I9feefXVyHiG5Wi8/RM8xF3V9JdHGJJMk3rpMO/bKZI2VrLKXBRveVOVM cGPOY5xrGqd9JGdh6sbYmwxl5SWGYffvHdLd6qk6rU3gmMGXBMcNh0oY87XVUnweeXz59HT+ kWwlluKMREMt5qLiRAA95HysXwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEJMWRmVeSWpSXmKPExsXCtZGTTVfDsDTCYNoPNYuX5z+wWjw71Mti seH9GnYHZo9n0w8zebzfd5XN4/MmuQDmKC6blNSczLLUIn27BK6MnbfOMRac46g4+/cCewPj QvYuRk4OCQETibdrXrF1MXJxCAmsZ5RovXYPLMEmYCTx7f1MFhBbREBNYtOrRUBxDg5mAUeJ 2+dDQMLCAlYSU7d/ZAOxWQRUJf7t+8AIYvMK2Es0PXzGAjFfXmJX20VWEJtTwEFi1qN+Fohd 05kk9j1vY53AyL2AkWEVo1huZk5xbnpmgaGhXnFiXkpmcbZecn7uJkaIryN3MD6daH6IkYmD U6qBkW+J6dePafsYWc9OPy8QeeJ5qt3EOrm9Z7X/tl/6mWy/r3Jp4DqDrTfe1XftCsr+OEFM O71re9FVSfHIDt2z059kh97aNHVRq7qbc9oOoQeR+WctZnncmKUiqyRebKso77dEJGCnzGNn jaMy/yJmlsuLP122SPV6QqPI4frlqddbpFz+lU+4oMRSnJFoqMVcVJwIAFY2sMilAQAA MIME-Version: 1.0 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)(39850400002)(39860400002)(39840400002)(39450400003)(2980300002)(438002)(189002)(199003)(8936002)(50986999)(38730400001)(33646002)(626004)(68736007)(356003)(97736004)(305945005)(86362001)(50466002)(47776003)(2270400002)(48376002)(92566002)(189998001)(5660300001)(69596002)(8676002)(6916009)(2950100002)(106466001)(110136003)(5003940100001)(77096006)(54906002)(36756003)(50226002)(93886004)(4326007)(81166006)(2906002)(76176999)(81156014)(1076002)(6666003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB043; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC006; 1:tn6NIX9alwLQ/KgWj1tjfm4/pdc/ma/9PTAZeiKCA30vxMFwidvlhFNzx3u+6Pt82n5fYboAONLJaeaMB9xsx0IKWLBNPflCasvaiqTzpTSxnNSZn3YXb6DwWXerNjchfQe7J+za7HlYP7lb/5Hq+YLJTwy0h+/7yDWJDzzjAvkR0vnJznQfKMfzH2794XEAiOnt5sG/u1G+ayORNqgkUyT3d57rIqHgcixs/TryKHKfArY0kV25D8WdmoW09d/XgLOOT0WyP3kgJHaLJNRvm8t1guf4A0gkN6mHBB18KF58mTkzqF3B4AEfS+k2Z7FcMTKMZ57dIQsGoLQ6sn21C3hcD1by76mCvHign1A7llpJubbSwsuiEK9oKmWyJxzrREgI59A/KSpuVP1sXuvdd5EPypgd86csuAlQkBFlVhtfwVqCPO0P4PcsVWrxMfRgAm8IxxsRj1j2qxKOWYSQLO53QdOVBfxPfvtYx9AWrAbnER+xCtJz2QUJSiZpAmSh66enjF450a7PySCK73yn3g== X-MS-Office365-Filtering-Correlation-Id: a487afbb-3ec7-430f-292c-08d4398c1116 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB043; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB043; 3:BEMJ2cx/XOBAqQHwXPnIHoP2VVt3ZaSZojiQQ6rX8ZsdJWbuj6S8iwz3atYX4NEd2BSG1hMneZkWNPJPJ4UEIyXolbwmyo43tZ/I2uco4C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tJkcxnjeR4mjj9oBHRKPBJNAAXB4liIUy4eLhYj8N3FwS5ZpGR0eGpqaHP2M9QFX/0Iqy7aFG/B1kYQNEFYuafz+Y0dmn0ZIbfCVmoIGuXssb2e+UmgPwkfPz8Q== X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB043; 31:g7q3sDDR6xiP9upadCIYGzJPZ2Qc2mSYXMSFD1lXvuVEwhGgtgeyLFJBGb/rYQtqfah1LmZPQ/iMS1ztlD+coyO5H6plY4j25hfGu3tzb2Ji40f5MRPoAQP7kMWNm4vfTCzZ13U8m86+JxBPo6lHfkRJoX3ydbno4KgS34boX7C7eRdQ6sY0hi1Ixt6tRZA1oQwegOvpqa7hEfUGqy2qPCKZOW/GO5M1O+lU0u6xLk4G4l5Uyd2ia/oxmIza9WSSgSLhTGQeR7xZJpCrOFrjc+Upd62DbaGAdraqYmxL+hs=; 20:JXSt0LutRt2AJrs6KrE7ENSwQMNgibkSzIu4eymA5ESO2e6IAzpAbSmMSbAuPkHvdLmCjTlMED4HchMtYtSwMNtwmAbNLDRdx3kM3cioJTkHM4r4ZIM6fM5jxvtBueJCG0H6agIust4Qgx4QI+7KdOLTcU1IwvWeqnpB2YqIcLRbnZxUw09Lr1S3S+fZOmiD1WROCGseYvn6T72cjV5iiBkcnTNfmhMk/799u5vdMVwCNdUJlhTe8bjLcuJ4lK5g+hlRm2BYlmU7Ae5RbI6AlGIRz45w2qMgg+Ud8TRbH52CTg+LJGOhz8Qeouq4FSr+hRhpDTFhb/B/+8pu2Yt8j6tYz13IERndjfO/xkxNh/sxGVLhckUTzjZqSAqFExJpfrpJPk+c0zG8c/CRswfRQz7jtQqHLG2P87Keavy+2jJVz9GvrgiMGo+gYNFcnDhtTCif3As/MKETCGWyfEeAXsO/o5BfmxbzlNoeZAimJGi89VTAr7Hijmce/W7pP5y1 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)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:BY2PR02MB043; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB043; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB043; 4:znRAuZyiTeUxTcC1FwqNdOoq10s5DM3bk/IaxHfZd7n0kpOeMVGpYQqCTzurWgmlfwa2Mz/kOAQJpMq0vEAljuvyIe7v1xumw/l6lNdBByacrGLnL/GMfX2IWxlPGm6Of8Oaf/N6qbME5w2/E/RL49eA7zhkBesetJE0PoOt139J8xluVqfCPqzIUR5KAUKREh+vSw8lmwN7iNpw0JlJXD8W2GSCCqpAqCe6FvMF41PkctPhuJe8LGn5yM0yOBD6Ov2FvUq/FTPtxz0szuE+jFBV9+Z4vGHMFLcn5sPWIEHH/ozhkWnvhADAMbnkzQgfSXq0y9StwGPsN1YVLGPxDanTjr741RQVQaQqOAotNXy08F/o5iLrX419QOfTEBnn7qhIQJ2eLccWHJL807QZLkVPqHHv56wtwh06zLpzQ7IatXQ7NZqfEgPk2OQBLQrkM6zebDzTDdWMzfq+Y4gpNPyUVqzZdoenIzD4IC3piiVTn77csl1kWUqZJcf3bjH2cj+DdWNcbRDMrnNGg+lqQI7+EOaaomSyqrIDNJYQT1ne8JyruPXUPQpTc/ULlR9wuDoAvGQW+gxlwHd/5dTGyBh1m6MWdSpX+30ZS791t9Nrk1fI1UyK6KI/cwRanoJKb+Q/pAlYxeQ9LTqMSdljas3dAiib562qlZmqMIV/UwlQpUFQ2KH1Z4qv4sRlq5RH8s9W59aJucvmefX+uPeApQ== X-Forefront-PRVS: 01834E39B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR02MB043; 23:BEd58NpL1Ujyadeu3z0FtffDsf7GfgzvyfMZ1lc6Sq?= =?us-ascii?Q?vHrBsPMwxM2y2zpYyJ7Gc986i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yHD8BcjaSRZGtpTKx/k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB043; 7:CQvp3VU8YFR9P7WcO9zyofyxOQnPRyQe4u2uQRNrUSDdew8MB/ibGWSs398e3wXvvND1qwf5s0xrbI12n47NhlAgN0qCzjuulquzbG+Hy376BZ/PWYcE5CBtsqiCOetGZHAb+aSo9mSECCXFHCE6KY+QYxmoEWPjIVqJAtQWPqCJtLSj6TtKkVu2QN43IrobXl5qz30Zpq86ZOm2qC4iyKpIa2gQakEoLNVGoBdS8eyV/y5W3sLY+bRRyQZe/kpSwzjRmFLw0R8h4NU44BGPbfjQeFmOsPH5tQgqoSAiofsZUcue5L1lx4yRgwAAy46Y93bdMm1cdaW/kM0u+rspp2dqj/sY5qoZZbIsiIvF/rHndNXPCeu/p+tW+Wv5hpqbd99NB+O9gLZks8VPja7+rze4t7PAIKCoO7lhK48uD8v5KonFJM6OkUBn+YTKv1Qe5RrNh3EhJh++TjigJ3AekQ== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2017 19:08:30.7208 (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: BY2PR02MB043 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 Reviewed-by: Leon Romanovsky Reviewed-by: Andrew Boyer Cc: Moni Shoua --- drivers/infiniband/sw/rxe/rxe_pool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }