summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Shi <yang.s@alibaba-inc.com>2017-11-17 18:02:18 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-29 01:33:29 -0500
commit79e53b2a5db63ab0a0a3b9c11612999a01efba15 (patch)
treeea64ffdf3c172c0ec66571d07a5c96d6476693a7
parent6dad4e8ab3ec65c3b948ad79e83751cf0f04cbdf (diff)
crypto: remove unused hardirq.h
Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by crypto at all. So, remove the unused hardirq.h. Signed-off-by: Yang Shi <yang.s@alibaba-inc.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-crypto@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/ablk_helper.c1
-rw-r--r--crypto/blkcipher.c1
-rw-r--r--crypto/mcryptd.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/crypto/ablk_helper.c b/crypto/ablk_helper.c
index 6e5d2f149b89..09776bb1360e 100644
--- a/crypto/ablk_helper.c
+++ b/crypto/ablk_helper.c
@@ -26,7 +26,6 @@
26#include <linux/crypto.h> 26#include <linux/crypto.h>
27#include <linux/init.h> 27#include <linux/init.h>
28#include <linux/module.h> 28#include <linux/module.h>
29#include <linux/hardirq.h>
30#include <crypto/algapi.h> 29#include <crypto/algapi.h>
31#include <crypto/cryptd.h> 30#include <crypto/cryptd.h>
32#include <crypto/ablk_helper.h> 31#include <crypto/ablk_helper.h>
diff --git a/crypto/blkcipher.c b/crypto/blkcipher.c
index 6c43a0a17a55..01c0d4aa2563 100644
--- a/crypto/blkcipher.c
+++ b/crypto/blkcipher.c
@@ -18,7 +18,6 @@
18#include <crypto/internal/skcipher.h> 18#include <crypto/internal/skcipher.h>
19#include <crypto/scatterwalk.h> 19#include <crypto/scatterwalk.h>
20#include <linux/errno.h> 20#include <linux/errno.h>
21#include <linux/hardirq.h>
22#include <linux/kernel.h> 21#include <linux/kernel.h>
23#include <linux/module.h> 22#include <linux/module.h>
24#include <linux/seq_file.h> 23#include <linux/seq_file.h>
diff --git a/crypto/mcryptd.c b/crypto/mcryptd.c
index 4e6472658852..9fa362c1ab44 100644
--- a/crypto/mcryptd.c
+++ b/crypto/mcryptd.c
@@ -26,7 +26,6 @@
26#include <linux/sched.h> 26#include <linux/sched.h>
27#include <linux/sched/stat.h> 27#include <linux/sched/stat.h>
28#include <linux/slab.h> 28#include <linux/slab.h>
29#include <linux/hardirq.h>
30 29
31#define MCRYPTD_MAX_CPU_QLEN 100 30#define MCRYPTD_MAX_CPU_QLEN 100
32#define MCRYPTD_BATCH 9 31#define MCRYPTD_BATCH 9