aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/dma.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-09-08 15:00:46 -0400
committerDan Williams <dan.j.williams@intel.com>2009-09-08 20:30:23 -0400
commit38e12f64a165e83617c21dae3c15972fd8d639f5 (patch)
tree43f0951cf0b91b0d831a469d0147c1c4cdd15dfa /drivers/dma/ioat/dma.c
parent5cbafa65b92ee4f5b8ba915cddf94b91f186b989 (diff)
ioat1: kill unused unmap parameters
The unified ioat1/ioat2 ioat_dma_unmap() implementation derives the source and dest addresses from the unmap descriptor. There is no longer a need to track this information in struct ioat_desc_sw. Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com> 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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c
index 64b4d75059aa..696d4de3bb8f 100644
--- a/drivers/dma/ioat/dma.c
+++ b/drivers/dma/ioat/dma.c
@@ -648,8 +648,6 @@ ioat1_dma_prep_memcpy(struct dma_chan *c, dma_addr_t dma_dest,
648 648
649 desc->txd.flags = flags; 649 desc->txd.flags = flags;
650 desc->tx_cnt = tx_cnt; 650 desc->tx_cnt = tx_cnt;
651 desc->src = dma_src;
652 desc->dst = dma_dest;
653 desc->len = total_len; 651 desc->len = total_len;
654 list_splice(&chain, &desc->txd.tx_list); 652 list_splice(&chain, &desc->txd.tx_list);
655 hw->ctl_f.int_en = !!(flags & DMA_PREP_INTERRUPT); 653 hw->ctl_f.int_en = !!(flags & DMA_PREP_INTERRUPT);