Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

async_xor: Remove unused 'async_xor_val'

async_xor_val has been unused since commit
a7c224a820c3 ("md/raid5: convert to new xor compution interface")

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Dr. David Alan Gilbert and committed by
Herbert Xu
20238d49 eca68284

-31
-26
crypto/async_tx/async_xor.c
··· 389 389 } 390 390 EXPORT_SYMBOL_GPL(async_xor_val_offs); 391 391 392 - /** 393 - * async_xor_val - attempt a xor parity check with a dma engine. 394 - * @dest: destination page used if the xor is performed synchronously 395 - * @src_list: array of source pages 396 - * @offset: offset in pages to start transaction 397 - * @src_cnt: number of source pages 398 - * @len: length in bytes 399 - * @result: 0 if sum == 0 else non-zero 400 - * @submit: submission / completion modifiers 401 - * 402 - * honored flags: ASYNC_TX_ACK 403 - * 404 - * src_list note: if the dest is also a source it must be at index zero. 405 - * The contents of this array will be overwritten if a scribble region 406 - * is not specified. 407 - */ 408 - struct dma_async_tx_descriptor * 409 - async_xor_val(struct page *dest, struct page **src_list, unsigned int offset, 410 - int src_cnt, size_t len, enum sum_check_flags *result, 411 - struct async_submit_ctl *submit) 412 - { 413 - return async_xor_val_offs(dest, offset, src_list, NULL, src_cnt, 414 - len, result, submit); 415 - } 416 - EXPORT_SYMBOL_GPL(async_xor_val); 417 - 418 392 MODULE_AUTHOR("Intel Corporation"); 419 393 MODULE_DESCRIPTION("asynchronous xor/xor-zero-sum api"); 420 394 MODULE_LICENSE("GPL");
-5
include/linux/async_tx.h
··· 168 168 int src_cnt, size_t len, struct async_submit_ctl *submit); 169 169 170 170 struct dma_async_tx_descriptor * 171 - async_xor_val(struct page *dest, struct page **src_list, unsigned int offset, 172 - int src_cnt, size_t len, enum sum_check_flags *result, 173 - struct async_submit_ctl *submit); 174 - 175 - struct dma_async_tx_descriptor * 176 171 async_xor_val_offs(struct page *dest, unsigned int offset, 177 172 struct page **src_list, unsigned int *src_offset, 178 173 int src_cnt, size_t len, enum sum_check_flags *result,