tunables: remove FreeBSD compat macros for Linux module params

Nothing in any FreeBSD code uses them.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Pavel Snajdr <snajpa@snajpa.net>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #17377
This commit is contained in:
Rob Norris
2025-05-24 16:24:42 +10:00
committed by Brian Behlendorf
parent b0e053a10d
commit 7b183f1918
2 changed files with 1 additions and 10 deletions
-6
View File
@@ -1822,9 +1822,3 @@ error:
return (SET_ERROR(ret));
}
#if defined(_KERNEL) && defined(HAVE_SPL)
module_param(zfs_key_max_salt_uses, ulong, 0644);
MODULE_PARM_DESC(zfs_key_max_salt_uses, "Max number of times a salt value "
"can be used for generating encryption keys before it is rotated");
#endif