diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:53:04 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:53:04 -0400 |
commit | 0803172778901e24a75ab074798d98c2b7411559 (patch) | |
tree | a3e1d0cf4228d65dc1fac2ad56f3beb6b6f3474b /drivers/dma/dmaengine.c | |
parent | 1979b186b80449ac6574d97c254b694c8a99b703 (diff) |
dmaengine: kill tx_list
The tx_list attribute of struct dma_async_tx_descriptor is common to
most, but not all dma driver implementations. None of the upper level
code (dmaengine/async_tx) uses it, so allow drivers to implement it
locally if they need it. This saves sizeof(struct list_head) bytes for
drivers that do not manage descriptors with a linked list (e.g.: ioatdma
v2,3).
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/dmaengine.c')
-rw-r--r-- | drivers/dma/dmaengine.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c index 5a87384ea4ff..562d182eae66 100644 --- a/drivers/dma/dmaengine.c +++ b/drivers/dma/dmaengine.c | |||
@@ -933,7 +933,6 @@ void dma_async_tx_descriptor_init(struct dma_async_tx_descriptor *tx, | |||
933 | { | 933 | { |
934 | tx->chan = chan; | 934 | tx->chan = chan; |
935 | spin_lock_init(&tx->lock); | 935 | spin_lock_init(&tx->lock); |
936 | INIT_LIST_HEAD(&tx->tx_list); | ||
937 | } | 936 | } |
938 | EXPORT_SYMBOL(dma_async_tx_descriptor_init); | 937 | EXPORT_SYMBOL(dma_async_tx_descriptor_init); |
939 | 938 | ||