diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2012-11-08 10:01:01 +0000 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-01-07 22:05:10 -0800 |
commit | e239345f642e6a255d0ba1e3d92c2f9ec5a44fbe (patch) | |
tree | f2be1aacdf39ef6b9d914913ef5aebcf844a067c /net | |
parent | b9ee86830f34737a08deead93872a79a37419a13 (diff) | |
download | linux-e239345f642e6a255d0ba1e3d92c2f9ec5a44fbe.tar.gz linux-e239345f642e6a255d0ba1e3d92c2f9ec5a44fbe.tar.bz2 linux-e239345f642e6a255d0ba1e3d92c2f9ec5a44fbe.zip |
dmaengine: remove dma_async_memcpy_complete() macro
Just use dma_async_is_tx_complete() directly.
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dan Williams <djbw@fb.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index cf949a119a54..db0856ad70cb 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -1409,7 +1409,7 @@ static void tcp_service_net_dma(struct sock *sk, bool wait) dma_async_issue_pending(tp->ucopy.dma_chan); do { - if (dma_async_memcpy_complete(tp->ucopy.dma_chan, + if (dma_async_is_tx_complete(tp->ucopy.dma_chan, last_issued, &done, &used) == DMA_SUCCESS) { /* Safe to free early-copied skbs now */ |