diff options
-rw-r--r-- | drivers/dma/ioat/dma.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c index 1350b880bc0d..c867db765936 100644 --- a/drivers/dma/ioat/dma.c +++ b/drivers/dma/ioat/dma.c | |||
@@ -611,11 +611,8 @@ static void __cleanup(struct ioatdma_chan *ioat_chan, dma_addr_t phys_complete) | |||
611 | 611 | ||
612 | tx = &desc->txd; | 612 | tx = &desc->txd; |
613 | if (tx->cookie) { | 613 | if (tx->cookie) { |
614 | struct dmaengine_result res; | ||
615 | |||
616 | dma_cookie_complete(tx); | 614 | dma_cookie_complete(tx); |
617 | dma_descriptor_unmap(tx); | 615 | dma_descriptor_unmap(tx); |
618 | res.result = DMA_TRANS_NOERROR; | ||
619 | dmaengine_desc_get_callback_invoke(tx, NULL); | 616 | dmaengine_desc_get_callback_invoke(tx, NULL); |
620 | tx->callback = NULL; | 617 | tx->callback = NULL; |
621 | tx->callback_result = NULL; | 618 | tx->callback_result = NULL; |