dmaengine: remove 'bigref' infrastructure

Reference counting is done at the module level so clients need not worry
that a channel will leave while they are actively using dmaengine.

Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
Dan Williams
2009-01-06 11:38:18 -07:00
parent aa1e6f1a38
commit f27c580c36
4 changed files with 9 additions and 87 deletions

View File

@@ -142,10 +142,6 @@ struct dma_chan {
int chan_id;
struct device dev;
struct kref refcount;
int slow_ref;
struct rcu_head rcu;
struct list_head device_node;
struct dma_chan_percpu *local;
int client_count;
@@ -233,9 +229,6 @@ struct dma_device {
dma_cap_mask_t cap_mask;
int max_xor;
struct kref refcount;
struct completion done;
int dev_id;
struct device *dev;