summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--module/icp/algs/aes/aes_impl.c1
-rw-r--r--module/icp/algs/modes/gcm.c1
-rw-r--r--module/zcommon/zfs_fletcher.c1
3 files changed, 0 insertions, 3 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)
diff --git a/module/zcommon/zfs_fletcher.c b/module/zcommon/zfs_fletcher.c
index c14c95fa2..3b4052c8a 100644
--- a/module/zcommon/zfs_fletcher.c
+++ b/module/zcommon/zfs_fletcher.c
@@ -896,7 +896,6 @@ zio_abd_checksum_func_t fletcher_4_abd_ops = {
#if defined(_KERNEL)
-#include <linux/mod_compat.h>
static int
fletcher_4_param_get(char *buffer, zfs_kernel_param_t *unused)