Commit fa52531e authored by Håkon Bugge's avatar Håkon Bugge Committed by David S. Miller

net/rds: Remove unnecessary variable

Signed-off-by: default avatarHåkon Bugge <haakon.bugge@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bfd42711
...@@ -1023,7 +1023,6 @@ int rds_ib_recv_path(struct rds_conn_path *cp) ...@@ -1023,7 +1023,6 @@ int rds_ib_recv_path(struct rds_conn_path *cp)
{ {
struct rds_connection *conn = cp->cp_conn; struct rds_connection *conn = cp->cp_conn;
struct rds_ib_connection *ic = conn->c_transport_data; struct rds_ib_connection *ic = conn->c_transport_data;
int ret = 0;
rdsdebug("conn %p\n", conn); rdsdebug("conn %p\n", conn);
if (rds_conn_up(conn)) { if (rds_conn_up(conn)) {
...@@ -1032,7 +1031,7 @@ int rds_ib_recv_path(struct rds_conn_path *cp) ...@@ -1032,7 +1031,7 @@ int rds_ib_recv_path(struct rds_conn_path *cp)
rds_ib_stats_inc(s_ib_rx_refill_from_thread); rds_ib_stats_inc(s_ib_rx_refill_from_thread);
} }
return ret; return 0;
} }
int rds_ib_recv_init(void) int rds_ib_recv_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment