netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net/rds: Remove unnecessary variable
@ 2018-07-16 13:06 Håkon Bugge
  2018-07-18  5:44 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Håkon Bugge @ 2018-07-16 13:06 UTC (permalink / raw)
  To: Santosh Shilimkar, David S . Miller
  Cc: netdev, linux-rdma, rds-devel, linux-kernel

Signed-off-by: Håkon Bugge <haakon.bugge@oracle.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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net/rds: Remove unnecessary variable
  2018-07-16 13:06 [PATCH] net/rds: Remove unnecessary variable Håkon Bugge
@ 2018-07-18  5:44 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-07-18  5:44 UTC (permalink / raw)
  To: Haakon.Bugge
  Cc: santosh.shilimkar, netdev, linux-rdma, rds-devel, linux-kernel

From: Håkon Bugge <Haakon.Bugge@oracle.com>
Date: Mon, 16 Jul 2018 15:06:39 +0200

> Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-18  5:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-16 13:06 [PATCH] net/rds: Remove unnecessary variable Håkon Bugge
2018-07-18  5:44 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).