crypto: chelsio - Remove unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Thu, 17 Aug 2023 13:48:54 +0000 (21:48 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Aug 2023 10:46:55 +0000 (18:46 +0800)
These declarations are not implemented now, remove them.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_core.h
drivers/crypto/chelsio/chcr_crypto.h

index f7c8bb95a71b41f63cfa356133b32d8200c9e5d0..5e9d568131fee9d2177571dde01ca0eb55e2869a 100644 (file)
@@ -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__ */
index 7f88ddb086313e5016936c960ade224ab8e14535..1d693b8436e6f0fe6d9f263a8eecfeada8d90688 100644 (file)
@@ -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);