Message ID | 20170110191554.17359-6-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-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 8256960231 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:16:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 763CF28596 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:16:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B3A4285A0; Tue, 10 Jan 2017 19:16:39 +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 4747C28596 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:16:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S940067AbdAJTQY (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Tue, 10 Jan 2017 14:16:24 -0500 Received: from mail-cys01nam02on0071.outbound.protection.outlook.com ([104.47.37.71]:37187 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S940097AbdAJTP7 (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Tue, 10 Jan 2017 14:15:59 -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=Ga2nkT4W2mPhdCboROYjMKpR37PBrtK/I/BTERJ+73WvWUE/WHLvZJc+qnHp0Yve4TIL+tijDT3+mGH/VDw/+hERVYY6/cJNuHrrrf+nb6KsJsUaa/jM9pydXxn0J8F09uzSW4TUmrPVucKQq2rCkqhlhRNz82wB47GYCFrbat8= Received: from BLUPR02CA059.namprd02.prod.outlook.com (10.160.23.177) by SN1PR02MB1423.namprd02.prod.outlook.com (10.162.0.27) 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:15:57 +0000 Received: from BN1AFFO11FD011.protection.gbl (2a01:111:f400:7c10::165) by BLUPR02CA059.outlook.office365.com (2a01:111:e400:8ad::49) 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; Tue, 10 Jan 2017 19:15:56 +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 BN1AFFO11FD011.mail.protection.outlook.com (10.58.52.71) 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:15: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 27.87.01420.0D035785; Tue, 10 Jan 2017 11:06:57 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Tue, 10 Jan 2017 11:15:54 -0800 X-AuditID: 0ac94371-47fff7000001058c-54-587530d0c5f0 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id CC.48.16817.AE235785; Tue, 10 Jan 2017 11:15:54 -0800 (PST) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Doug Ledford <dledford@redhat.com> CC: <linux-rdma@vger.kernel.org>, Moni Shoua <monis@mellanox.com> Subject: [PATCH v2 05/15] IB/rxe: Remove superfluous casts Date: Tue, 10 Jan 2017 11:15:44 -0800 Message-ID: <20170110191554.17359-6-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170110191554.17359-1-bart.vanassche@sandisk.com> References: <20170110191554.17359-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDLMWRmVeSWpSXmKPExsXCddJ5ke5Fg9IIg8unuCxenv/AavHsUC+L xYb3a9gdmD2eTT/M5PF+31U2j8+b5AKYo7hsUlJzMstSi/TtErgydt46x1hwjqPi7N8L7A2M C9m7GDk5JARMJD60PGPtYuTiEBJYyiSx6MpeKGcbo8SS5efgqh4t6GKHSGxklJi8cB4TSIJN wEji2/uZLCC2iICaxKZXi8AamAUcJS5N+wRWIyxgJTF1+0c2EJtFQFVi6+79YPW8AvYSV//8 YIFYIC+xq+0iK4jNKeAg8WHBfaBeDqBl9hJTVhmD7JUQeMwiMWv/OiaIXkGJkzOfsEDskpA4 +OIFM4gtJKAucXLJfKYJjEKzkJTNQlK2gJFpFaNYbmZOcW56aoGhiV5xYl5KZnG2XnJ+7iZG SBgX7mB8fdv7EKMAB6MSD2/Hs5IIIdbEsuLK3EOMEhzMSiK8qXqlEUK8KYmVValF+fFFpTmp xYcYpTlYlMR5L0Z/DBMSSE8sSc1OTS1ILYLJMnFwSjUwzoxns/k7cb9Ek+75Y/ort2492K59 Rm03w212QdWH/yf+DDPq2L4+PHTG3sj8gOONb41sQrK9mZnPunHP3dNt4vS9ZonHadP1du05 nV8PnH3L2KhbmlefpS2xJmrD5ZCZ/txev+TOPIlNZOR8daUzXu5M6cyNVhUSgja+spOZTQ8u FJtd5aWpxFKckWioxVxUnAgA0OYoV18CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAJMWRmVeSWpSXmKPExsXCtZGTTfeVUWmEwb+9ShYvz39gtXh2qJfF YsP7NewOzB7Pph9m8ni/7yqbx+dNcgHMUVw2Kak5mWWpRfp2CVwZO2+dYyw4x1Fx9u8F9gbG hexdjJwcEgImEo8WdAHZXBxCAusZJb5v3s0CkmATMJL49n4mmC0ioCax6dUioCIODmYBR4nb 50NAwsICVhJTt39kA7FZBFQltu7eD1bOK2AvcfVFEyPEfHmJXW0XWUFsTgEHiQ8L7jOBjBEC qpmyyngCI/cCRoZVjGK5mTnFuemZBYaGesWJeSmZxdl6yfm5mxghfo7cwfh0ovkhRiYOTqkG xkVqqafsK9bvYP/Rzn3c0sxQSPPhHQW+P3/dtYxcsndUbpqxOeXJtmnaYod+n58yP93DT3xy 8I/y45N231cIqnLiCvmoaM9pdPldZpFl6hZ9jltB7IuStXrnHI/ZU+wddeR97a/UB9FaddOO qC3vNn8u4vPnFPPi9NCdS8o6GVI2t/yPO/NAWYmlOCPRUIu5qDgRAGSbYlOjAQAA 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)(39850400002)(39860400002)(39840400002)(39410400002)(39450400003)(2980300002)(438002)(189002)(199003)(36756003)(2270400002)(54906002)(356003)(92566002)(33646002)(5660300001)(6666003)(69596002)(305945005)(2950100002)(6916009)(86362001)(110136003)(47776003)(68736007)(50466002)(81166006)(38730400001)(8676002)(106466001)(81156014)(77096006)(48376002)(5003940100001)(50986999)(8936002)(626004)(97736004)(50226002)(76176999)(2906002)(4326007)(1076002)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1423; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD011; 1:FFrfwKJQzgJ0TRQOpAb3208lDFsD+FKCpd1UMIK2YXtbKwoeM6jPMv0vXUdWGtVZBhzK0JGEGK1njLeXxK8q0F8KPmzjUT2dsJ+N/8ByYY5LKmaAQcKpfNTFOBLruK92z3GeWa6Q8daNMfPbNyGyKqZX527jOmtGDshJbyOFUXIXVxWCx50d5JXeoRBuoIhpvXniJpN+KyL1XV8s9/Jtu5e+jJIbzwE1VYyupzrSeZ9sngViIHArIKUbNMydzqtIbTBz8JtlWyo6yajttIWWrjDDccTbFezsrScte6UVuT6bISl/FAymEygTSBeiwCN02jRQSMDbs3mQoQDO/3NmfRbhwAcg5pz8Id1lvJ95hgA/xNARzpdc++KmGZzMXG+HNuKb+Xl4+R4/2WwUy2kil9Bf3d5qkAayehcM6civ6cmDpR8Q9FRcPitDwU9DvGzFXGo9e/+Sl7IGVy+YXiYtjupEDysO8uFSwmR+t+3dIUY= X-MS-Office365-Filtering-Correlation-Id: aa65a00f-7f74-4f5c-a200-08d4398d1ab6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:SN1PR02MB1423; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1423; 3:WENwX5XpDMGs+SrSmAnp/kq8yuJogoCQHQlUjrkA8Zra9TDgaPEvf2NwM5CamH2irvOclCkVFbll/pIcr7yYXbLOhJsF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6Q5b/e34xKktEwuTt9jkL420z5k+seZqhQMxdyBBuV8NwprnumvgYzjVEHEMdY5ycliRiTix4l2faigTzMXsZqDqxTzBebiiHjKfeUfcBuTFzkBYYYs6qlY+/azc+h/5TwUSNB3QQ== X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1423; 31:ISf1qtxXV5vE4XcIvroMK8hQy+COVi8W7d2vUwb5mGXADakKXe4t2Ofd52rvUdCg2KU/h7JYKYxUPoNsFxE7JoHYzHwUzc9qoc6K0wIgiRpJxl1Qt1tIB/vkcMhUBWLi2Zgp6q6zO6QYGvc6QTj4n5Ya2Rf3hdbqMeca/kduRydH9CwJbzamLGzrwoDflyEj2BA8mnKORN9s78XJBzGoqpDyByZqaquahme9HOB3Gues4ewZVRLFQtdg+b2UrLz4zWps/lNHLdi/2/2FCdlohRYfpYYltn6sPYE2wR7cEJA=; 20:xgfMcHpt9zrRWmrk5emMjYp9bx/YqIo4LT7SrsASPb1nwQ9B7E2ZUDiS/MvC+D7mxpees1C890+/STCFDD+n28Sp3r4XYGwH5hNOzVAKm83I0bu1C8Ul4qSVOjoQe5nqynPWsRHgE68mWp1ejBKNt1XdqUFjxVGHsuCcQ7IQJKzPflhAMzyrYH6lGkfPVfifez5WbJxnZFGbPc4uewz+NrcTV0fF17v9IDfWiy+sivunPxJ0PyDjhytBEFNJfy0b3dU2ZJmFU0JQpRI3dzMHfVZ6qwnzZGwiiW6N/A/sF9XHkBVPUGotC5aNklUSlt3FMBxj0RN3fKK++qtiRs5r4/A9ELd8iuFuTnpCXjLbk+U6VVmka/EdwoLnuMMpOsN900nykAsH8UJER5gaig9S5qwZl13Z1Tjpgu61VNN+4UVEiiMbAPiYk3xKolqCfHWlI7+XhxvEzXzj2n54vPi3Afu93SaeiFm+TflA/dHKSPISzsI8MS0GjMttK5V3mVVf X-Microsoft-Antispam-PRVS: <SN1PR02MB142313780F4DC3AFB1A59DD481670@SN1PR02MB1423.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(56004941905204)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123558021)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:SN1PR02MB1423; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1423; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1423; 4:AVDsY8KV/6D7Of35weun2WajRI/oFXQEMN1ZXBFWxHPJfRYStLW8/r3LQaRuYQopCUyChjSQH+YPRTRbwrXnTXpUy7uW/X6VuO0ZpkZNNLY5lbTye88eA7HDSYNJI7xWEU1HorQ6JrnqdrhRVpLvPhO8+6mdTplzbWQR+MKgGabYk+WLkUo2mFFHnOk8oicF64pGMeyDQKDuMLELOTa4Ruo0Cl91p+C//fveQH13A8tmboAWDROVuZxtPbiBvuUzIq6CvZX0Zfdt8mw0j+WcX6n9+8xLGrPQ21xOxO/ygdXDRyurP0YUo6/u3QFkF7S/DLcyjjvKTMpcIsrZYAtEhSDLD13D7Ip/faoM3iI77ASgK3SfDsLg/nls+OJE1M+M/N1Nkq9dxAb4rijbYhAsUHEPtHbJKE3uXPrUHoJgcU6FkOSzz/8u5FoA3pZOVIWENVwQHfF/u6W8My2IzgbQoevxp9x2fz4bPUYASWvg1OKpq8Pw33/7fSfZ859IWlqqj2KOjT4m3T99da+VkIEGL3lV9Dj0PYKLwwWn87ifglp8mgXMLmZLzYVyl2nTR/ydbahvRlb79ZxDZqSHQQjUTl4JTT1fduQYYGHJItYMLNfe7ozO6eYpDl/KOzK380TxaVvZzxZmZ8SkEDKSZOuxf2LcWz6e6mQkkTqLapPisQO3aRVisHb3P1r/7787YxWHX7AN1CYVq99r9LiCPt8EJHfJ+fnWAXSFmgiCoy269tVObhkkAjbKAMxaNIwHSIy0 X-Forefront-PRVS: 01834E39B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?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+UkpnpJME+VJwDocnyTgdDuLEk7KfuRIvy7qqaqGagx4+11FoLC8eS7fyzwD+1Oiu/6H8qNV7Y1dSY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1423; 7:nF/TBWojdSC1IrfQYbFR0BeT7DHIIrI7RKJqg2prnAwitBdVBjuWSENvvvdZdTA9H08cuR8KeQC7x0i50q46vM+qlye6dyecdR/sVbLp+etSwZbo6HeZUGyArgnfp6d577lwx6WKhlvRs4Uw42lBPqplhJ2JnaCGea+ViLysQQTN2SalMOenushJnuQK8Wu2EZ/Pbsb9tDfOrC10zags0+lcgxouOlw9KPUjxQwmd/vB1z8611TqvNxz+OK3lUgdUb0i+wdyZzhopY3v8d8k8pdv19zPiGMp8Z4aJw9KxMoKd5oasoaKWHrm1gAy9Irb3yd9mpco8mz7WJXbMb6U3D3j66SkcPepn1QsvtHC79vPVzqbVG3r5z5Lhb4BfWKSY6X+DvnDIzpj1eWykvGKNvJxkqn75yv+I9+Gt1UD2CXk16yeWvIsCQj7kSsldafluzAI4W9phoxD9mXbHds5JA== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2017 19:15:56.2595 (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: SN1PR02MB1423 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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; }