]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ioat1: kill unused unmap parameters
authorDan Williams <dan.j.williams@intel.com>
Tue, 8 Sep 2009 19:00:46 +0000 (12:00 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:30:23 +0000 (17:30 -0700)
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>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h

index 64b4d75059aa5cdc6d6219da6fb55015af7ae71c..696d4de3bb8f7f7fb25990190037c0aea4d8f82f 100644 (file)
@@ -648,8 +648,6 @@ ioat1_dma_prep_memcpy(struct dma_chan *c, dma_addr_t dma_dest,
 
        desc->txd.flags = flags;
        desc->tx_cnt = tx_cnt;
-       desc->src = dma_src;
-       desc->dst = dma_dest;
        desc->len = total_len;
        list_splice(&chain, &desc->txd.tx_list);
        hw->ctl_f.int_en = !!(flags & DMA_PREP_INTERRUPT);
index 84065dfa4d40487ecfbd554239a87f93502da90a..fa15e77652a073149fadd8a5b3515f53a76dc3b5 100644 (file)
@@ -179,8 +179,6 @@ struct ioat_desc_sw {
        struct list_head node;
        int tx_cnt;
        size_t len;
-       dma_addr_t src;
-       dma_addr_t dst;
        struct dma_async_tx_descriptor txd;
 };