From patchwork Thu May 10 06:32:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuval Shaia X-Patchwork-Id: 10391271 X-Patchwork-Delegate: jgg@ziepe.ca 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 8ABB66053D for ; Thu, 10 May 2018 06:36:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E8C6288B6 for ; Thu, 10 May 2018 06:36:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62026288DB; Thu, 10 May 2018 06:36:23 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY 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 CA28028715 for ; Thu, 10 May 2018 06:36:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753497AbeEJGgV (ORCPT ); Thu, 10 May 2018 02:36:21 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:45052 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854AbeEJGgV (ORCPT ); Thu, 10 May 2018 02:36:21 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4A6QAqT093914; Thu, 10 May 2018 06:32:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id; s=corp-2017-10-26; bh=biPlUwiUnsiV+cf4sKp/Fi9GPWqgRBpoxHoSgdBTW7o=; b=aJ+DJJmBmEc7yfCepsPPdeXoA0rsU8MSp74t5P8zls+b62ntgfQxPmkF5+RfNAgICL+1 WLJGiLu/skpvyp27va06QFSgJzhjpmBKaEC6exoNBu1Ei4pw78DQyf/Kr/pr4HMTmFog AuZgoTjtsh8vmBbZWk4nM6jCPwYszcyVl/KYln2kYKzMXOzr3zPpJBI+qnyjijvIi8RS NPA8hwn39X3ZlMPdYOGk/1M4plfgll0Maot5Y6SC1uwbMh4uLHLm0I9z7O7KCc2VwJzO KxYwumpnsW+CBqB/Xd5oz+o8m+ouapGxEaRAsOhIdq87/puy6zm+XcK7i2uoAmuOSw2q Mw== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2hv6kp225s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 May 2018 06:32:59 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w4A6WwYX007324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 May 2018 06:32:58 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w4A6WvPK001904; Thu, 10 May 2018 06:32:57 GMT Received: from localhost.localdomain (/77.138.186.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 09 May 2018 23:32:57 -0700 From: Yuval Shaia To: dledford@redhat.com, jgg@ziepe.ca, jgg@mellanox.com, leon@kernel.org, artemyko@mellanox.com, dan.j.williams@intel.com, qing.huang@oracle.com, yuval.shaia@oracle.com, linux-rdma@vger.kernel.org Subject: [PATCH] IB/core: Remove redundant return Date: Thu, 10 May 2018 09:32:43 +0300 Message-Id: <20180510063243.5706-1-yuval.shaia@oracle.com> X-Mailer: git-send-email 2.14.3 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8888 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=2 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=908 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805100066 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 "return" statement at the end of void function is redundant, removing it. Signed-off-by: Yuval Shaia Reviewed-by: Zhu Yanjun Reviewed-by: Qing Huang --- drivers/infiniband/core/umem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/infiniband/core/umem.c b/drivers/infiniband/core/umem.c index 9a4e899d94b3..b3cdc099d32a 100644 --- a/drivers/infiniband/core/umem.c +++ b/drivers/infiniband/core/umem.c @@ -64,8 +64,6 @@ static void __ib_umem_release(struct ib_device *dev, struct ib_umem *umem, int d } sg_free_table(&umem->sg_head); - return; - } /**