X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Frds%2Fib_recv.c;h=24d14615f41a9f06e6a9e1f41103e7becc6b0efd;hb=7e3f2952eeb1a0fe2aa9882fd1705a88f9d89b35;hp=8f041f7954a28d11528037d3a79feba64b4a703f;hpb=38a4e5e61344490f18241333d7b1b368a3a38748;p=mv-sheeva.git diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index 8f041f7954a..24d14615f41 100644 --- a/net/rds/ib_recv.c +++ b/net/rds/ib_recv.c @@ -863,18 +863,6 @@ int rds_ib_recv(struct rds_connection *conn) int ret = 0; rdsdebug("conn %p\n", conn); - - /* - * If we get a temporary posting failure in this context then - * we're really low and we want the caller to back off for a bit. - */ - mutex_lock(&ic->i_recv_mutex); - if (rds_ib_recv_refill(conn, 0)) - ret = -ENOMEM; - else - rds_ib_stats_inc(s_ib_rx_refill_from_thread); - mutex_unlock(&ic->i_recv_mutex); - if (rds_conn_up(conn)) rds_ib_attempt_ack(ic);