diff options
Diffstat (limited to 'crypto/async_tx/async_xor.c')
-rw-r--r-- | crypto/async_tx/async_xor.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/crypto/async_tx/async_xor.c b/crypto/async_tx/async_xor.c index 689ecce73ee1..65974c6d3d7a 100644 --- a/crypto/async_tx/async_xor.c +++ b/crypto/async_tx/async_xor.c | |||
@@ -121,7 +121,6 @@ do_async_xor(struct dma_chan *chan, struct page *dest, struct page **src_list, | |||
121 | static void | 121 | static void |
122 | do_sync_xor(struct page *dest, struct page **src_list, unsigned int offset, | 122 | do_sync_xor(struct page *dest, struct page **src_list, unsigned int offset, |
123 | int src_cnt, size_t len, enum async_tx_flags flags, | 123 | int src_cnt, size_t len, enum async_tx_flags flags, |
124 | struct dma_async_tx_descriptor *depend_tx, | ||
125 | dma_async_tx_callback cb_fn, void *cb_param) | 124 | dma_async_tx_callback cb_fn, void *cb_param) |
126 | { | 125 | { |
127 | int i; | 126 | int i; |
@@ -150,7 +149,7 @@ do_sync_xor(struct page *dest, struct page **src_list, unsigned int offset, | |||
150 | src_off += xor_src_cnt; | 149 | src_off += xor_src_cnt; |
151 | } | 150 | } |
152 | 151 | ||
153 | async_tx_sync_epilog(flags, depend_tx, cb_fn, cb_param); | 152 | async_tx_sync_epilog(cb_fn, cb_param); |
154 | } | 153 | } |
155 | 154 | ||
156 | /** | 155 | /** |
@@ -204,7 +203,7 @@ async_xor(struct page *dest, struct page **src_list, unsigned int offset, | |||
204 | async_tx_quiesce(&depend_tx); | 203 | async_tx_quiesce(&depend_tx); |
205 | 204 | ||
206 | do_sync_xor(dest, src_list, offset, src_cnt, len, | 205 | do_sync_xor(dest, src_list, offset, src_cnt, len, |
207 | flags, depend_tx, cb_fn, cb_param); | 206 | flags, cb_fn, cb_param); |
208 | 207 | ||
209 | return NULL; | 208 | return NULL; |
210 | } | 209 | } |
@@ -287,7 +286,7 @@ async_xor_zero_sum(struct page *dest, struct page **src_list, | |||
287 | 286 | ||
288 | *result = page_is_zero(dest, offset, len) ? 0 : 1; | 287 | *result = page_is_zero(dest, offset, len) ? 0 : 1; |
289 | 288 | ||
290 | async_tx_sync_epilog(flags, depend_tx, cb_fn, cb_param); | 289 | async_tx_sync_epilog(cb_fn, cb_param); |
291 | } | 290 | } |
292 | 291 | ||
293 | return tx; | 292 | return tx; |