]> granicus.if.org Git - zfs/commitdiff
Remove linux/mod_compat.h from common code
authorMatthew Macy <mmacy@freebsd.org>
Fri, 11 Oct 2019 17:10:20 +0000 (10:10 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 11 Oct 2019 17:10:20 +0000 (10:10 -0700)
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

module/icp/algs/aes/aes_impl.c
module/icp/algs/modes/gcm.c
module/zcommon/zfs_fletcher.c

index b60b16cc01d3f3e05f0c37ef906839b71078c90c..d97e2e2397c6fa796b4e71cf9430b2bc150e4c10 100644 (file)
@@ -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)
index 1fb8e256a52b35d12425ec17842d3eaf696b362c..195a96df5ded0f60a0c4df0c12f184b7845f1916 100644 (file)
@@ -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)
index c14c95fa22850bd9bf596e4fad831dbe9699f0bd..3b4052c8a8ec3741dc6f4e4ac188ee003911cdeb 100644 (file)
@@ -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)