Skip to content

Commit 28ff5ff

Browse files
robnbehlendorf
authored andcommitted
tunables: remove support for s64 tunables
Nothing uses them now. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Pavel Snajdr <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes openzfs#17377
1 parent e900288 commit 28ff5ff

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

include/os/linux/kernel/linux/mod_compat.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ enum scope_prefix_types {
7979
};
8080

8181
/*
82-
* While we define our own s64/u64 types, there is no reason to reimplement the
82+
* While we define our own u64 types, there is no reason to reimplement the
8383
* existing Linux kernel types, so we use the preprocessor to remap our
8484
* "custom" implementations to the kernel ones. This is done because the CPP
8585
* does not allow us to write conditional definitions. The fourth definition
@@ -112,11 +112,6 @@ enum scope_prefix_types {
112112
#define spl_param_ops_charp param_ops_charp
113113
#define spl_param_ops_STRING param_ops_charp
114114

115-
int spl_param_set_s64(const char *val, zfs_kernel_param_t *kp);
116-
extern int spl_param_get_s64(char *buffer, zfs_kernel_param_t *kp);
117-
extern const struct kernel_param_ops spl_param_ops_s64;
118-
#define spl_param_ops_S64 spl_param_ops_s64
119-
120115
extern int spl_param_set_u64(const char *val, zfs_kernel_param_t *kp);
121116
extern int spl_param_get_u64(char *buffer, zfs_kernel_param_t *kp);
122117
extern const struct kernel_param_ops spl_param_ops_u64;

module/os/linux/spl/spl-generic.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,6 @@ EXPORT_SYMBOL(spl_param_get_##type); \
575575
EXPORT_SYMBOL(spl_param_set_##type); \
576576
EXPORT_SYMBOL(spl_param_ops_##type);
577577

578-
define_spl_param(s64, "%lld")
579578
define_spl_param(u64, "%llu")
580579

581580
/*

0 commit comments

Comments
 (0)