aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat_dma.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/ioat_dma.c
parent8d47bae004f062630f69f7f83d098424252e232d (diff)
downloadkernel_samsung_smdk4412-ccccce229c633a92c42cd1a40c0738d7b0d12644.zip
kernel_samsung_smdk4412-ccccce229c633a92c42cd1a40c0738d7b0d12644.tar.gz
kernel_samsung_smdk4412-ccccce229c633a92c42cd1a40c0738d7b0d12644.tar.bz2
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/ioat_dma.c')
-rw-r--r--drivers/dma/ioat_dma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/ioat_dma.c b/drivers/dma/ioat_dma.c
index 5905cd3..e4fc33c 100644
--- a/drivers/dma/ioat_dma.c
+++ b/drivers/dma/ioat_dma.c
@@ -693,7 +693,6 @@ static struct ioat_desc_sw *ioat_dma_alloc_descriptor(
desc_sw->async_tx.tx_submit = ioat2_tx_submit;
break;
}
- INIT_LIST_HEAD(&desc_sw->async_tx.tx_list);
desc_sw->hw = desc;
desc_sw->async_tx.phys = phys;