[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180716130639.1591990-1-Haakon.Bugge@oracle.com>
Date: Mon, 16 Jul 2018 15:06:39 +0200
From: Håkon Bugge <Haakon.Bugge@...cle.com>
To: Santosh Shilimkar <santosh.shilimkar@...cle.com>,
"David S . Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
rds-devel@....oracle.com, linux-kernel@...r.kernel.org
Subject: [PATCH] net/rds: Remove unnecessary variable
Signed-off-by: Håkon Bugge <haakon.bugge@...cle.com>
---
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
Powered by blists - more mailing lists