Skip to content

Commit fa52531

Browse files
Hakon-Buggedavem330
authored andcommitted
net/rds: Remove unnecessary variable
Signed-off-by: Håkon Bugge <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent bfd4271 commit fa52531

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

net/rds/ib_recv.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,6 @@ int rds_ib_recv_path(struct rds_conn_path *cp)
10231023
{
10241024
struct rds_connection *conn = cp->cp_conn;
10251025
struct rds_ib_connection *ic = conn->c_transport_data;
1026-
int ret = 0;
10271026

10281027
rdsdebug("conn %p\n", conn);
10291028
if (rds_conn_up(conn)) {
@@ -1032,7 +1031,7 @@ int rds_ib_recv_path(struct rds_conn_path *cp)
10321031
rds_ib_stats_inc(s_ib_rx_refill_from_thread);
10331032
}
10341033

1035-
return ret;
1034+
return 0;
10361035
}
10371036

10381037
int rds_ib_recv_init(void)

0 commit comments

Comments
 (0)