From bce795ad7a1385fe81052bab6a85ae17b90986b7 Mon Sep 17 00:00:00 2001 From: Matthew Macy Date: Fri, 11 Oct 2019 10:10:20 -0700 Subject: 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 Reviewed-by: Brian Behlendorf Reviewed-by: Igor Kozhukhov Signed-off-by: Matt Macy Closes #9449 --- module/icp/algs/aes/aes_impl.c | 1 - module/icp/algs/modes/gcm.c | 1 - 2 files changed, 2 deletions(-) (limited to 'module/icp/algs') 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 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 static int icp_gcm_impl_set(const char *val, zfs_kernel_param_t *kp) -- cgit v1.2.3