From: "Dr. David Alan Gilbert" <linux@treblig.org>
To: dan.j.williams@intel.com, herbert@gondor.apana.org.au
Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] async_xor: Remove unused 'async_xor_val'
Date: Tue, 29 Oct 2024 18:22:29 +0000 [thread overview]
Message-ID: <ZyEn5f8w8Ez2Szw3@gallifrey> (raw)
In-Reply-To: <20240929132148.44792-1-linux@treblig.org>
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> 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>
Ping.
Thanks,
Dave
> ---
> crypto/async_tx/async_xor.c | 26 --------------------------
> include/linux/async_tx.h | 5 -----
> 2 files changed, 31 deletions(-)
>
> diff --git a/crypto/async_tx/async_xor.c b/crypto/async_tx/async_xor.c
> index 1a3855284091..2c499654a36c 100644
> --- a/crypto/async_tx/async_xor.c
> +++ b/crypto/async_tx/async_xor.c
> @@ -389,32 +389,6 @@ async_xor_val_offs(struct page *dest, unsigned int offset,
> }
> EXPORT_SYMBOL_GPL(async_xor_val_offs);
>
> -/**
> - * async_xor_val - attempt a xor parity check with a dma engine.
> - * @dest: destination page used if the xor is performed synchronously
> - * @src_list: array of source pages
> - * @offset: offset in pages to start transaction
> - * @src_cnt: number of source pages
> - * @len: length in bytes
> - * @result: 0 if sum == 0 else non-zero
> - * @submit: submission / completion modifiers
> - *
> - * honored flags: ASYNC_TX_ACK
> - *
> - * src_list note: if the dest is also a source it must be at index zero.
> - * The contents of this array will be overwritten if a scribble region
> - * is not specified.
> - */
> -struct dma_async_tx_descriptor *
> -async_xor_val(struct page *dest, struct page **src_list, unsigned int offset,
> - int src_cnt, size_t len, enum sum_check_flags *result,
> - struct async_submit_ctl *submit)
> -{
> - return async_xor_val_offs(dest, offset, src_list, NULL, src_cnt,
> - len, result, submit);
> -}
> -EXPORT_SYMBOL_GPL(async_xor_val);
> -
> MODULE_AUTHOR("Intel Corporation");
> MODULE_DESCRIPTION("asynchronous xor/xor-zero-sum api");
> MODULE_LICENSE("GPL");
> diff --git a/include/linux/async_tx.h b/include/linux/async_tx.h
> index 5cc73d7e5b52..1ca9f9e05f4f 100644
> --- a/include/linux/async_tx.h
> +++ b/include/linux/async_tx.h
> @@ -167,11 +167,6 @@ async_xor_offs(struct page *dest, unsigned int offset,
> struct page **src_list, unsigned int *src_offset,
> int src_cnt, size_t len, struct async_submit_ctl *submit);
>
> -struct dma_async_tx_descriptor *
> -async_xor_val(struct page *dest, struct page **src_list, unsigned int offset,
> - int src_cnt, size_t len, enum sum_check_flags *result,
> - struct async_submit_ctl *submit);
> -
> struct dma_async_tx_descriptor *
> async_xor_val_offs(struct page *dest, unsigned int offset,
> struct page **src_list, unsigned int *src_offset,
> --
> 2.46.2
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
next prev parent reply other threads:[~2024-10-29 18:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-29 13:21 [PATCH] async_xor: Remove unused 'async_xor_val' linux
2024-10-29 18:22 ` Dr. David Alan Gilbert [this message]
2025-03-15 9:06 ` Herbert Xu
2025-03-15 12:44 ` Dr. David Alan Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZyEn5f8w8Ez2Szw3@gallifrey \
--to=linux@treblig.org \
--cc=dan.j.williams@intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox