From 7f3161a9123faba4ae16650720dca3ec07017242 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sun, 19 May 2024 21:49:19 +1000 Subject: [PATCH] icp: remove redundant FreeBSD check We don't build illumos-crypto for FreeBSD. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes #16209 --- module/icp/illumos-crypto.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/module/icp/illumos-crypto.c b/module/icp/illumos-crypto.c index 57e6c17decbb..8c08bb3638f7 100644 --- a/module/icp/illumos-crypto.c +++ b/module/icp/illumos-crypto.c @@ -138,8 +138,3 @@ icp_init(void) return (0); } - -#if defined(_KERNEL) && defined(__FreeBSD__) -module_exit(icp_fini); -module_init(icp_init); -#endif