Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27638
b: refs/heads/master
c: 92b1582
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed Jun 18, 2006
1 parent b3ac05f commit 87cd1ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77f76013e3ffda605b20184db5862ce1efcb6f5a
refs/heads/master: 92b1582268e269b3a9e54e186e740396f0f2012b
7 changes: 0 additions & 7 deletions trunk/drivers/infiniband/core/uverbs_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,6 @@ ssize_t ib_uverbs_reg_mr(struct ib_uverbs_file *file,

err_unreg:
ib_dereg_mr(mr);
atomic_dec(&pd->usecnt);

err_up:
mutex_unlock(&ib_uverbs_idr_mutex);
Expand Down Expand Up @@ -986,11 +985,6 @@ ssize_t ib_uverbs_create_qp(struct ib_uverbs_file *file,

err_destroy:
ib_destroy_qp(qp);
atomic_dec(&pd->usecnt);
atomic_dec(&attr.send_cq->usecnt);
atomic_dec(&attr.recv_cq->usecnt);
if (attr.srq)
atomic_dec(&attr.srq->usecnt);

err_up:
mutex_unlock(&ib_uverbs_idr_mutex);
Expand Down Expand Up @@ -1888,7 +1882,6 @@ ssize_t ib_uverbs_create_srq(struct ib_uverbs_file *file,

err_destroy:
ib_destroy_srq(srq);
atomic_dec(&pd->usecnt);

err_up:
mutex_unlock(&ib_uverbs_idr_mutex);
Expand Down

0 comments on commit 87cd1ad

Please sign in to comment.