Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143408
b: refs/heads/master
c: ed247e1
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Apr 15, 2009
1 parent c936c07 commit 6387b17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 6c0f8bc77233d000a34a01989c42e650c8c32180
refs/heads/master: ed247e12fe5da4417602c3c0ce22932fb0f9cac1
6 changes: 2 additions & 4 deletions trunk/arch/sparc/kernel/ldc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1183,8 +1183,7 @@ struct ldc_channel *ldc_alloc(unsigned long id,
free_queue(lp->tx_num_entries, lp->tx_base);

out_free_mssbuf:
if (mssbuf)
kfree(mssbuf);
kfree(mssbuf);

out_free_iommu:
ldc_iommu_release(lp);
Expand Down Expand Up @@ -1217,8 +1216,7 @@ void ldc_free(struct ldc_channel *lp)

hlist_del(&lp->list);

if (lp->mssbuf)
kfree(lp->mssbuf);
kfree(lp->mssbuf);

ldc_iommu_release(lp);

Expand Down

0 comments on commit 6387b17

Please sign in to comment.