diff options
| -rw-r--r-- | net/rds/ib_send.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rds/ib_send.c b/net/rds/ib_send.c index 5e72de10c484..6ab39dbcca01 100644 --- a/net/rds/ib_send.c +++ b/net/rds/ib_send.c | |||
| @@ -770,7 +770,6 @@ int rds_ib_xmit_atomic(struct rds_connection *conn, struct rm_atomic_op *op) | |||
| 770 | 770 | ||
| 771 | work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, 1, &pos); | 771 | work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, 1, &pos); |
| 772 | if (work_alloc != 1) { | 772 | if (work_alloc != 1) { |
| 773 | rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); | ||
| 774 | rds_ib_stats_inc(s_ib_tx_ring_full); | 773 | rds_ib_stats_inc(s_ib_tx_ring_full); |
| 775 | ret = -ENOMEM; | 774 | ret = -ENOMEM; |
| 776 | goto out; | 775 | goto out; |
