diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2018-01-09 05:24:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-09 10:01:35 -0500 |
commit | 6daa971b57f4fe878228ae90eeb2ded18738548b (patch) | |
tree | d23376fdc54f431b577f5273093ce6beec89b229 | |
parent | e7660d2d4714a146a80553e9355b40c467d60183 (diff) |
staging: ccree: remove unneeded includes
Remove include files not needed for compilation.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/ccree/cc_aead.c | 7 | ||||
-rw-r--r-- | drivers/staging/ccree/cc_buffer_mgr.c | 6 | ||||
-rw-r--r-- | drivers/staging/ccree/cc_cipher.c | 4 | ||||
-rw-r--r-- | drivers/staging/ccree/cc_driver.c | 31 | ||||
-rw-r--r-- | drivers/staging/ccree/cc_hash.c | 2 | ||||
-rw-r--r-- | drivers/staging/ccree/cc_ivgen.c | 1 | ||||
-rw-r--r-- | drivers/staging/ccree/cc_pm.c | 2 | ||||
-rw-r--r-- | drivers/staging/ccree/cc_request_mgr.c | 5 |
8 files changed, 0 insertions, 58 deletions
diff --git a/drivers/staging/ccree/cc_aead.c b/drivers/staging/ccree/cc_aead.c index da7442347f94..265adffdab41 100644 --- a/drivers/staging/ccree/cc_aead.c +++ b/drivers/staging/ccree/cc_aead.c | |||
@@ -3,18 +3,11 @@ | |||
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | #include <linux/module.h> | 5 | #include <linux/module.h> |
6 | #include <linux/platform_device.h> | ||
7 | #include <crypto/algapi.h> | 6 | #include <crypto/algapi.h> |
8 | #include <crypto/internal/skcipher.h> | ||
9 | #include <crypto/internal/hash.h> | ||
10 | #include <crypto/internal/aead.h> | 7 | #include <crypto/internal/aead.h> |
11 | #include <crypto/sha.h> | ||
12 | #include <crypto/ctr.h> | ||
13 | #include <crypto/authenc.h> | 8 | #include <crypto/authenc.h> |
14 | #include <crypto/aes.h> | ||
15 | #include <crypto/des.h> | 9 | #include <crypto/des.h> |
16 | #include <linux/rtnetlink.h> | 10 | #include <linux/rtnetlink.h> |
17 | #include <linux/version.h> | ||
18 | #include "cc_driver.h" | 11 | #include "cc_driver.h" |
19 | #include "cc_buffer_mgr.h" | 12 | #include "cc_buffer_mgr.h" |
20 | #include "cc_aead.h" | 13 | #include "cc_aead.h" |
diff --git a/drivers/staging/ccree/cc_buffer_mgr.c b/drivers/staging/ccree/cc_buffer_mgr.c index 01c786ca6fae..14b2eabbf70a 100644 --- a/drivers/staging/ccree/cc_buffer_mgr.c +++ b/drivers/staging/ccree/cc_buffer_mgr.c | |||
@@ -1,17 +1,11 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */ | 2 | /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */ |
3 | 3 | ||
4 | #include <linux/crypto.h> | ||
5 | #include <linux/version.h> | ||
6 | #include <crypto/algapi.h> | ||
7 | #include <crypto/internal/aead.h> | 4 | #include <crypto/internal/aead.h> |
8 | #include <crypto/hash.h> | ||
9 | #include <crypto/authenc.h> | 5 | #include <crypto/authenc.h> |
10 | #include <crypto/scatterwalk.h> | 6 | #include <crypto/scatterwalk.h> |
11 | #include <linux/dmapool.h> | 7 | #include <linux/dmapool.h> |
12 | #include <linux/dma-mapping.h> | 8 | #include <linux/dma-mapping.h> |
13 | #include <linux/module.h> | ||
14 | #include <linux/platform_device.h> | ||
15 | 9 | ||
16 | #include "cc_buffer_mgr.h" | 10 | #include "cc_buffer_mgr.h" |
17 | #include "cc_lli_defs.h" | 11 | #include "cc_lli_defs.h" |
diff --git a/drivers/staging/ccree/cc_cipher.c b/drivers/staging/ccree/cc_cipher.c index eca0578f8986..8afdbc120b13 100644 --- a/drivers/staging/ccree/cc_cipher.c +++ b/drivers/staging/ccree/cc_cipher.c | |||
@@ -3,12 +3,8 @@ | |||
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | #include <linux/module.h> | 5 | #include <linux/module.h> |
6 | #include <linux/platform_device.h> | ||
7 | #include <linux/semaphore.h> | ||
8 | #include <crypto/algapi.h> | 6 | #include <crypto/algapi.h> |
9 | #include <crypto/internal/skcipher.h> | 7 | #include <crypto/internal/skcipher.h> |
10 | #include <crypto/aes.h> | ||
11 | #include <crypto/ctr.h> | ||
12 | #include <crypto/des.h> | 8 | #include <crypto/des.h> |
13 | #include <crypto/xts.h> | 9 | #include <crypto/xts.h> |
14 | #include <crypto/scatterwalk.h> | 10 | #include <crypto/scatterwalk.h> |
diff --git a/drivers/staging/ccree/cc_driver.c b/drivers/staging/ccree/cc_driver.c index 98d491ee2656..b49bc25a2d55 100644 --- a/drivers/staging/ccree/cc_driver.c +++ b/drivers/staging/ccree/cc_driver.c | |||
@@ -5,43 +5,12 @@ | |||
5 | #include <linux/module.h> | 5 | #include <linux/module.h> |
6 | 6 | ||
7 | #include <linux/crypto.h> | 7 | #include <linux/crypto.h> |
8 | #include <crypto/algapi.h> | ||
9 | #include <crypto/aes.h> | ||
10 | #include <crypto/sha.h> | ||
11 | #include <crypto/aead.h> | ||
12 | #include <crypto/authenc.h> | ||
13 | #include <crypto/scatterwalk.h> | ||
14 | #include <crypto/internal/skcipher.h> | ||
15 | |||
16 | #include <linux/init.h> | ||
17 | #include <linux/moduleparam.h> | 8 | #include <linux/moduleparam.h> |
18 | #include <linux/types.h> | 9 | #include <linux/types.h> |
19 | #include <linux/random.h> | ||
20 | #include <linux/ioport.h> | ||
21 | #include <linux/interrupt.h> | 10 | #include <linux/interrupt.h> |
22 | #include <linux/fcntl.h> | ||
23 | #include <linux/poll.h> | ||
24 | #include <linux/proc_fs.h> | ||
25 | #include <linux/mutex.h> | ||
26 | #include <linux/sysctl.h> | ||
27 | #include <linux/fs.h> | ||
28 | #include <linux/cdev.h> | ||
29 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
30 | #include <linux/mm.h> | ||
31 | #include <linux/delay.h> | ||
32 | #include <linux/dma-mapping.h> | ||
33 | #include <linux/dmapool.h> | ||
34 | #include <linux/list.h> | ||
35 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
36 | #include <linux/spinlock.h> | 13 | #include <linux/spinlock.h> |
37 | #include <linux/pm.h> | ||
38 | |||
39 | /* cache.h required for L1_CACHE_ALIGN() and cache_line_size() */ | ||
40 | #include <linux/cache.h> | ||
41 | #include <linux/io.h> | ||
42 | #include <linux/uaccess.h> | ||
43 | #include <linux/pagemap.h> | ||
44 | #include <linux/sched.h> | ||
45 | #include <linux/of.h> | 14 | #include <linux/of.h> |
46 | #include <linux/clk.h> | 15 | #include <linux/clk.h> |
47 | #include <linux/of_address.h> | 16 | #include <linux/of_address.h> |
diff --git a/drivers/staging/ccree/cc_hash.c b/drivers/staging/ccree/cc_hash.c index 7c1645dd5184..86f9ec711edc 100644 --- a/drivers/staging/ccree/cc_hash.c +++ b/drivers/staging/ccree/cc_hash.c | |||
@@ -3,10 +3,8 @@ | |||
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | #include <linux/module.h> | 5 | #include <linux/module.h> |
6 | #include <linux/platform_device.h> | ||
7 | #include <crypto/algapi.h> | 6 | #include <crypto/algapi.h> |
8 | #include <crypto/hash.h> | 7 | #include <crypto/hash.h> |
9 | #include <crypto/sha.h> | ||
10 | #include <crypto/md5.h> | 8 | #include <crypto/md5.h> |
11 | #include <crypto/internal/hash.h> | 9 | #include <crypto/internal/hash.h> |
12 | 10 | ||
diff --git a/drivers/staging/ccree/cc_ivgen.c b/drivers/staging/ccree/cc_ivgen.c index 43f70d46634a..25a3131a93ce 100644 --- a/drivers/staging/ccree/cc_ivgen.c +++ b/drivers/staging/ccree/cc_ivgen.c | |||
@@ -1,7 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */ | 2 | /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */ |
3 | 3 | ||
4 | #include <linux/platform_device.h> | ||
5 | #include <crypto/ctr.h> | 4 | #include <crypto/ctr.h> |
6 | #include "cc_driver.h" | 5 | #include "cc_driver.h" |
7 | #include "cc_ivgen.h" | 6 | #include "cc_ivgen.h" |
diff --git a/drivers/staging/ccree/cc_pm.c b/drivers/staging/ccree/cc_pm.c index 1f5da86348bd..c7d6b863d3af 100644 --- a/drivers/staging/ccree/cc_pm.c +++ b/drivers/staging/ccree/cc_pm.c | |||
@@ -2,9 +2,7 @@ | |||
2 | /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */ | 2 | /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */ |
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | #include <linux/platform_device.h> | ||
6 | #include <linux/interrupt.h> | 5 | #include <linux/interrupt.h> |
7 | #include <crypto/ctr.h> | ||
8 | #include <linux/pm_runtime.h> | 6 | #include <linux/pm_runtime.h> |
9 | #include "cc_driver.h" | 7 | #include "cc_driver.h" |
10 | #include "cc_buffer_mgr.h" | 8 | #include "cc_buffer_mgr.h" |
diff --git a/drivers/staging/ccree/cc_request_mgr.c b/drivers/staging/ccree/cc_request_mgr.c index cbcfcc3302b2..8372410b4f14 100644 --- a/drivers/staging/ccree/cc_request_mgr.c +++ b/drivers/staging/ccree/cc_request_mgr.c | |||
@@ -2,11 +2,6 @@ | |||
2 | /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */ | 2 | /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */ |
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | #include <linux/platform_device.h> | ||
6 | #include <linux/interrupt.h> | ||
7 | #include <linux/delay.h> | ||
8 | #include <crypto/ctr.h> | ||
9 | #include <linux/pm_runtime.h> | ||
10 | #include "cc_driver.h" | 5 | #include "cc_driver.h" |
11 | #include "cc_buffer_mgr.h" | 6 | #include "cc_buffer_mgr.h" |
12 | #include "cc_request_mgr.h" | 7 | #include "cc_request_mgr.h" |