diff options
Diffstat (limited to 'net/rds/rdma.c')
-rw-r--r-- | net/rds/rdma.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/rds/rdma.c b/net/rds/rdma.c index d0ba2ca3b714..334acdd32ab6 100644 --- a/net/rds/rdma.c +++ b/net/rds/rdma.c | |||
@@ -664,13 +664,12 @@ int rds_cmsg_rdma_args(struct rds_sock *rs, struct rds_message *rm, | |||
664 | } | 664 | } |
665 | op->op_bytes = nr_bytes; | 665 | op->op_bytes = nr_bytes; |
666 | 666 | ||
667 | ret = 0; | ||
668 | out: | 667 | out: |
669 | kfree(pages); | 668 | kfree(pages); |
670 | if (ret) | 669 | if (ret) |
671 | rds_rdma_free_op(op); | 670 | rds_rdma_free_op(op); |
672 | 671 | else | |
673 | rds_stats_inc(s_send_rdma); | 672 | rds_stats_inc(s_send_rdma); |
674 | 673 | ||
675 | return ret; | 674 | return ret; |
676 | } | 675 | } |