chelsio: Do not include crypto/algapi.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Aug 2023 10:15:24 +0000 (18:15 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Sep 2023 10:30:43 +0000 (18:30 +0800)
The header file crypto/algapi.h is for internal use only.  Use the
header file crypto/utils.h instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.h
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h

index 3731c93f8f953f6fb20a1b03c999d79d54563cb7..c7338ac6a5bbe61aeedea4564bde53524b2b2a9e 100644 (file)
@@ -39,7 +39,6 @@
 
 #include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/crypto.h>
 #include <linux/skbuff.h>
 #include <linux/rtnetlink.h>
 #include <linux/highmem.h>
@@ -49,7 +48,6 @@
 #include <net/esp.h>
 #include <net/xfrm.h>
 #include <crypto/aes.h>
-#include <crypto/algapi.h>
 #include <crypto/hash.h>
 #include <crypto/sha1.h>
 #include <crypto/sha2.h>
index 1d110d2edd64c8a62532a48d875c1e0b4b276cca..0d42e7d15714bc86374ccc1a8214bd6f857a7839 100644 (file)
@@ -4,7 +4,6 @@
 #ifndef __CHCR_IPSEC_H__
 #define __CHCR_IPSEC_H__
 
-#include <crypto/algapi.h>
 #include "t4_hw.h"
 #include "cxgb4.h"
 #include "t4_msg.h"
index 62f62bff74a5fd98265644d97908f6d1a7571dbb..7ff82b6778bad1d3b28f148306ddc911c597d86f 100644 (file)
@@ -7,7 +7,6 @@
 #define __CHTLS_H__
 
 #include <crypto/aes.h>
-#include <crypto/algapi.h>
 #include <crypto/hash.h>
 #include <crypto/sha1.h>
 #include <crypto/sha2.h>