diff mbox series

[-next] crypto: chelsio - Remove unused declarations

Message ID 20230817134854.18772-1-yuehaibing@huawei.com
State Accepted
Commit 9687daf785c035b4b6f73c998e6ee75bb0697c7e
Headers show
Series [-next] crypto: chelsio - Remove unused declarations | expand

Commit Message

Yue Haibing Aug. 17, 2023, 1:48 p.m. UTC
These declarations are not implemented now, remove them.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/crypto/chelsio/chcr_core.h   | 1 -
 drivers/crypto/chelsio/chcr_crypto.h | 1 -
 2 files changed, 2 deletions(-)

Comments

Herbert Xu Aug. 25, 2023, 11:06 a.m. UTC | #1
On Thu, Aug 17, 2023 at 09:48:54PM +0800, Yue Haibing wrote:
> These declarations are not implemented now, remove them.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  drivers/crypto/chelsio/chcr_core.h   | 1 -
>  drivers/crypto/chelsio/chcr_crypto.h | 1 -
>  2 files changed, 2 deletions(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/crypto/chelsio/chcr_core.h b/drivers/crypto/chelsio/chcr_core.h
index f7c8bb95a71b..5e9d568131fe 100644
--- a/drivers/crypto/chelsio/chcr_core.h
+++ b/drivers/crypto/chelsio/chcr_core.h
@@ -133,7 +133,6 @@  int start_crypto(void);
 int stop_crypto(void);
 int chcr_uld_rx_handler(void *handle, const __be64 *rsp,
 			const struct pkt_gl *pgl);
-int chcr_uld_tx_handler(struct sk_buff *skb, struct net_device *dev);
 int chcr_handle_resp(struct crypto_async_request *req, unsigned char *input,
 		     int err);
 #endif /* __CHCR_CORE_H__ */
diff --git a/drivers/crypto/chelsio/chcr_crypto.h b/drivers/crypto/chelsio/chcr_crypto.h
index 7f88ddb08631..1d693b8436e6 100644
--- a/drivers/crypto/chelsio/chcr_crypto.h
+++ b/drivers/crypto/chelsio/chcr_crypto.h
@@ -344,7 +344,6 @@  void chcr_add_cipher_dst_ent(struct skcipher_request *req,
 			     struct cpl_rx_phys_dsgl *phys_cpl,
 			     struct  cipher_wr_param *wrparam,
 			     unsigned short qid);
-int sg_nents_len_skip(struct scatterlist *sg, u64 len, u64 skip);
 void chcr_add_hash_src_ent(struct ahash_request *req, struct ulptx_sgl *ulptx,
 			   struct hash_wr_param *param);
 int chcr_hash_dma_map(struct device *dev, struct ahash_request *req);