Skip to content

Commit

Permalink
net/rds: Remove unnecessary variable
Browse files Browse the repository at this point in the history
Signed-off-by: Håkon Bugge <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Hakon-Bugge authored and davem330 committed Jul 18, 2018
1 parent bfd4271 commit fa52531
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/rds/ib_recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,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)) {
Expand All @@ -1032,7 +1031,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)
Expand Down

0 comments on commit fa52531

Please sign in to comment.