diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/uverbs_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c index 76bf61e9b552..a908a7bdcd7f 100644 --- a/drivers/infiniband/core/uverbs_cmd.c +++ b/drivers/infiniband/core/uverbs_cmd.c | |||
@@ -1530,7 +1530,6 @@ ssize_t ib_uverbs_post_send(struct ib_uverbs_file *file, | |||
1530 | out_put: | 1530 | out_put: |
1531 | put_qp_read(qp); | 1531 | put_qp_read(qp); |
1532 | 1532 | ||
1533 | out: | ||
1534 | while (wr) { | 1533 | while (wr) { |
1535 | if (is_ud && wr->wr.ud.ah) | 1534 | if (is_ud && wr->wr.ud.ah) |
1536 | put_ah_read(wr->wr.ud.ah); | 1535 | put_ah_read(wr->wr.ud.ah); |
@@ -1539,6 +1538,7 @@ out: | |||
1539 | wr = next; | 1538 | wr = next; |
1540 | } | 1539 | } |
1541 | 1540 | ||
1541 | out: | ||
1542 | kfree(user_wr); | 1542 | kfree(user_wr); |
1543 | 1543 | ||
1544 | return ret ? ret : in_len; | 1544 | return ret ? ret : in_len; |