summaryrefslogtreecommitdiffstats
path: root/drivers/dma/mv_xor.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-03-25 09:13:24 -0700
committerDan Williams <dan.j.williams@intel.com>2009-03-25 09:13:24 -0700
commitccccce229c633a92c42cd1a40c0738d7b0d12644 (patch)
treea954537ae73f2e03c4431b244796cdc255af7a10 /drivers/dma/mv_xor.c
parent8d47bae004f062630f69f7f83d098424252e232d (diff)
downloadop-kernel-dev-ccccce229c633a92c42cd1a40c0738d7b0d12644.zip
op-kernel-dev-ccccce229c633a92c42cd1a40c0738d7b0d12644.tar.gz
dmaengine: initialize tx_list in dma_async_tx_descriptor_init
Centralize this common initialization (and one case where ipu_idmac is duplicating ->chan initialization). Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/mv_xor.c')
-rw-r--r--drivers/dma/mv_xor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
index cb7f26f..ddab94f 100644
--- a/drivers/dma/mv_xor.c
+++ b/drivers/dma/mv_xor.c
@@ -632,7 +632,6 @@ static int mv_xor_alloc_chan_resources(struct dma_chan *chan)
slot->async_tx.tx_submit = mv_xor_tx_submit;
INIT_LIST_HEAD(&slot->chain_node);
INIT_LIST_HEAD(&slot->slot_node);
- INIT_LIST_HEAD(&slot->async_tx.tx_list);
hw_desc = (char *) mv_chan->device->dma_desc_pool;
slot->async_tx.phys =
(dma_addr_t) &hw_desc[idx * MV_XOR_SLOT_SIZE];
OpenPOWER on IntegriCloud