aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-10-11 10:10:20 -0700
committerBrian Behlendorf <[email protected]>2019-10-11 10:10:20 -0700
commitbce795ad7a1385fe81052bab6a85ae17b90986b7 (patch)
tree5d4696d411802ba0dc47b74c341a83daeb21c0f6 /module/icp
parentaf1698f59b79eff7e96332518512069ce5824b31 (diff)
Remove linux/mod_compat.h from common code
It is no longer necessary; mod_compat.h is included from zfs_context.h. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Igor Kozhukhov <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9449
Diffstat (limited to 'module/icp')
-rw-r--r--module/icp/algs/aes/aes_impl.c1
-rw-r--r--module/icp/algs/modes/gcm.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/module/icp/algs/aes/aes_impl.c b/module/icp/algs/aes/aes_impl.c
index b60b16cc0..d97e2e239 100644
--- a/module/icp/algs/aes/aes_impl.c
+++ b/module/icp/algs/aes/aes_impl.c
@@ -407,7 +407,6 @@ aes_impl_set(const char *val)
}
#if defined(_KERNEL)
-#include <linux/mod_compat.h>
static int
icp_aes_impl_set(const char *val, zfs_kernel_param_t *kp)
diff --git a/module/icp/algs/modes/gcm.c b/module/icp/algs/modes/gcm.c
index 1fb8e256a..195a96df5 100644
--- a/module/icp/algs/modes/gcm.c
+++ b/module/icp/algs/modes/gcm.c
@@ -810,7 +810,6 @@ gcm_impl_set(const char *val)
}
#if defined(_KERNEL)
-#include <linux/mod_compat.h>
static int
icp_gcm_impl_set(const char *val, zfs_kernel_param_t *kp)