diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/mv_xor.c | 1 | ||||
-rw-r--r-- | drivers/dma/mv_xor.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index e779b434af45..ad7d03fe4cb4 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c | |||
@@ -826,7 +826,6 @@ static enum dma_status mv_xor_status(struct dma_chan *chan, | |||
826 | 826 | ||
827 | last_used = chan->cookie; | 827 | last_used = chan->cookie; |
828 | last_complete = mv_chan->completed_cookie; | 828 | last_complete = mv_chan->completed_cookie; |
829 | mv_chan->is_complete_cookie = cookie; | ||
830 | dma_set_tx_state(txstate, last_complete, last_used, 0); | 829 | dma_set_tx_state(txstate, last_complete, last_used, 0); |
831 | 830 | ||
832 | ret = dma_async_is_complete(cookie, last_complete, last_used); | 831 | ret = dma_async_is_complete(cookie, last_complete, last_used); |
diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h index 977b592e976b..da04ac23def3 100644 --- a/drivers/dma/mv_xor.h +++ b/drivers/dma/mv_xor.h | |||
@@ -109,7 +109,6 @@ struct mv_xor_chan { | |||
109 | #ifdef USE_TIMER | 109 | #ifdef USE_TIMER |
110 | unsigned long cleanup_time; | 110 | unsigned long cleanup_time; |
111 | u32 current_on_last_cleanup; | 111 | u32 current_on_last_cleanup; |
112 | dma_cookie_t is_complete_cookie; | ||
113 | #endif | 112 | #endif |
114 | }; | 113 | }; |
115 | 114 | ||