Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2317413imm; Mon, 16 Jul 2018 06:08:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd026IhttJNYMkwObEjZlXfrRPgc16HUvlgYBep9ylBkPf2UHmoBCN29KHDjN/eqJXzHI3l X-Received: by 2002:a17:902:822:: with SMTP id 31-v6mr16411134plk.172.1531746481582; Mon, 16 Jul 2018 06:08:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531746481; cv=none; d=google.com; s=arc-20160816; b=G1A3TG6zlAKMMxZ6wd5lRAcbPfDDPqZeUI1s6G1ouAOYZzL8qfCYGFTQ+IXu+s1+7x klPT0HEaClW2tyNOayJbOBAvj5xPkP0xRxK+NykdSGTBLV0oE9+vOmHbNAulA7Dnsci2 M+kC3JM+5gITDrpJJYfxtAePJotl+WAzN6md7mvZcib8iJf5brX/UzaJUKhsIuZLZCUN a4n5pAA5ALcDzJpXYZzbxZ3rW3X9wObJsDd8hvRHOHvmbTFS2HOTginVPj/CcG2qrt9y yRKPEx8n4sw07zET6tLF/x02eyA6Y+GyvfkEki+Nz7uqz5GMH2RfF2OHVobiLxmNAmQW GMng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=4EKy6g6TrAsLRFR1R33z0pMExyWcnImK1KvCiY0iCj8=; b=EVUl9/rg3zduAIDj33epxkRCmBklWVe94tzla/2tSnJ6iWRHiaqlEi/sSYP/v9WoRB JxSPLF0MBzKv1r0lWkZtXmSOLGAWmRunZpu1HUFgkUR6THPzTxDeyiTQuNvO8RiUwZGZ KYL8ANL3XJbIoSmnr2Im8NcLZVf0GC60nTVjjk58/udEdl15jDZSiuKK7AcPsBTwVcSO bkQCvq7Cv9gwRvPvURB52OfCkqeh3NCkg5li8K5+enpsoKmylpfTr5GLOYiyFldPtrNE rJqE2pj59T6QtUm1QIRcuEPjLmfbUnjvKdqRO3j+abdub/t3rfnOu+S75XEB7hk899AV D/Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=Sg4fCvho; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e98-v6si31082268plb.150.2018.07.16.06.07.46; Mon, 16 Jul 2018 06:08:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=Sg4fCvho; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731141AbeGPNeN (ORCPT + 99 others); Mon, 16 Jul 2018 09:34:13 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:57498 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728719AbeGPNeN (ORCPT ); Mon, 16 Jul 2018 09:34:13 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6GD3jiO165049; Mon, 16 Jul 2018 13:06:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : mime-version : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=4EKy6g6TrAsLRFR1R33z0pMExyWcnImK1KvCiY0iCj8=; b=Sg4fCvhoJN9AUAyJaUounxUG3H8l51KUrnoxtyVtWsULL5UcPWSLOPfw8vdhlJN3OwIH EFryczY4ut+sCFy+IOqACOMORwidrZu3OX4TZZxK/ozPSa4DlP//1CXz9sQGjtcxcEV1 yP1Q98NCRrtRVK6jkJSRbMIFPHOI/lflbjouAXR3O896XYJjAvHN/xMOvvvDcMstab2B IFrfo2AYLhxZsMWnU1UTdmp+j4az7aFSyO7sx2G/aM9Z2HILduhhfSbg6KMudlmwO3Fx fwpfXTURxSldZUAX+cx9rBywkzb4p96BZhkUlbQPHukDzClUz2YOQbcx1xzCSc5uIvgx QQ== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2k7a3svane-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Jul 2018 13:06:49 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w6GD6maA029047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Jul 2018 13:06:48 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6GD6mMt020977; Mon, 16 Jul 2018 13:06:48 GMT Received: from lab02.no.oracle.com (/10.172.144.56) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 16 Jul 2018 06:06:48 -0700 From: =?UTF-8?q?H=C3=A5kon=20Bugge?= To: Santosh Shilimkar , "David S . Miller" Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org Subject: [PATCH] net/rds: Remove unnecessary variable Date: Mon, 16 Jul 2018 15:06:39 +0200 Message-Id: <20180716130639.1591990-1-Haakon.Bugge@oracle.com> X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8955 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=832 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807160154 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: HÃ¥kon Bugge --- net/rds/ib_recv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index b4e421aa9727..a720583542a1 100644 --- a/net/rds/ib_recv.c +++ b/net/rds/ib_recv.c @@ -1025,7 +1025,6 @@ int rds_ib_recv_path(struct rds_conn_path *cp) { struct rds_connection *conn = cp->cp_conn; struct rds_ib_connection *ic = conn->c_transport_data; - int ret = 0; rdsdebug("conn %p\n", conn); if (rds_conn_up(conn)) { @@ -1034,7 +1033,7 @@ int rds_ib_recv_path(struct rds_conn_path *cp) rds_ib_stats_inc(s_ib_rx_refill_from_thread); } - return ret; + return 0; } int rds_ib_recv_init(void) -- 2.14.3