diff --git a/include/os/linux/kernel/linux/mod_compat.h b/include/os/linux/kernel/linux/mod_compat.h index 110cdfa25..8ed664981 100644 --- a/include/os/linux/kernel/linux/mod_compat.h +++ b/include/os/linux/kernel/linux/mod_compat.h @@ -79,7 +79,7 @@ enum scope_prefix_types { }; /* - * While we define our own s64/u64 types, there is no reason to reimplement the + * While we define our own u64 types, there is no reason to reimplement the * existing Linux kernel types, so we use the preprocessor to remap our * "custom" implementations to the kernel ones. This is done because the CPP * does not allow us to write conditional definitions. The fourth definition @@ -112,11 +112,6 @@ enum scope_prefix_types { #define spl_param_ops_charp param_ops_charp #define spl_param_ops_STRING param_ops_charp -int spl_param_set_s64(const char *val, zfs_kernel_param_t *kp); -extern int spl_param_get_s64(char *buffer, zfs_kernel_param_t *kp); -extern const struct kernel_param_ops spl_param_ops_s64; -#define spl_param_ops_S64 spl_param_ops_s64 - extern int spl_param_set_u64(const char *val, zfs_kernel_param_t *kp); extern int spl_param_get_u64(char *buffer, zfs_kernel_param_t *kp); extern const struct kernel_param_ops spl_param_ops_u64; diff --git a/module/os/linux/spl/spl-generic.c b/module/os/linux/spl/spl-generic.c index 115c9460f..bba0cf3ac 100644 --- a/module/os/linux/spl/spl-generic.c +++ b/module/os/linux/spl/spl-generic.c @@ -575,7 +575,6 @@ EXPORT_SYMBOL(spl_param_get_##type); \ EXPORT_SYMBOL(spl_param_set_##type); \ EXPORT_SYMBOL(spl_param_ops_##type); -define_spl_param(s64, "%lld") define_spl_param(u64, "%llu") /*