Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130065
b: refs/heads/master
c: 83436a0
h: refs/heads/master
i:
  130063: 6bd50a1
v: v3
  • Loading branch information
Dan Williams committed Jan 19, 2009
1 parent dc55ef1 commit 23661f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 169d5f663759ec494aa74a552ce99486235e6e50
refs/heads/master: 83436a0560e9ef8af2f0796264dde4bed1415359
6 changes: 0 additions & 6 deletions trunk/drivers/dma/dmaengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,6 @@ struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type)
struct dma_chan *chan;
int cpu;

WARN_ONCE(dmaengine_ref_count == 0,
"client called %s without a reference", __func__);

cpu = get_cpu();
chan = per_cpu_ptr(channel_table[tx_type], cpu)->chan;
put_cpu();
Expand All @@ -348,9 +345,6 @@ void dma_issue_pending_all(void)
struct dma_device *device;
struct dma_chan *chan;

WARN_ONCE(dmaengine_ref_count == 0,
"client called %s without a reference", __func__);

rcu_read_lock();
list_for_each_entry_rcu(device, &dma_device_list, global_node) {
if (dma_has_cap(DMA_PRIVATE, device->cap_mask))
Expand Down

0 comments on commit 23661f0

Please sign in to comment.