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 <ryan@ixsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Igor Kozhukhov <igor@dilos.org> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #9449
This commit is contained in:
parent
af1698f59b
commit
bce795ad7a
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue