diff options
author | Håkon Bugge <Haakon.Bugge@oracle.com> | 2018-07-16 15:06:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-18 07:44:08 +0200 |
commit | fa52531eb4409a1fc0cc11ac37e249088d3561c7 (patch) | |
tree | f823e81c46e877ea2d985121bbdd17a46851b0d9 /net/rds | |
parent | net/rds: void function cannot return -1 (diff) | |
download | linux-fa52531eb4409a1fc0cc11ac37e249088d3561c7.tar.xz linux-fa52531eb4409a1fc0cc11ac37e249088d3561c7.zip |
net/rds: Remove unnecessary variable
Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/ib_recv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index e5ce93419263..1eaf2550a9f8 100644 --- a/net/rds/ib_recv.c +++ b/net/rds/ib_recv.c @@ -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)) { @@ -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) |