summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-06-18 09:00:22 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-06-26 06:46:43 +0200
commitd037cb4ae20407df89491f9c2d521ac0723aa15d (patch)
treefa0ddffb989019814db15e35a5a0ad0762dfc422 /include
parentcrypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified (diff)
downloadlinux-d037cb4ae20407df89491f9c2d521ac0723aa15d.tar.xz
linux-d037cb4ae20407df89491f9c2d521ac0723aa15d.zip
crypto: api - Prune inclusions in crypto.h
We haven't used string.h since the memcpy calls were removed so this patch removes its inclusion. The file uaccess.h isn't needed at all. However, removing it reveals that we do need to add an inclusion for refcount.h. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r--include/linux/crypto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 763863dbc079..bc5d2d4bfc3d 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -16,9 +16,8 @@
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/bug.h>
+#include <linux/refcount.h>
#include <linux/slab.h>
-#include <linux/string.h>
-#include <linux/uaccess.h>
#include <linux/completion.h>
/*