aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp/illumos-crypto.c
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-05-19 21:49:19 +1000
committerBrian Behlendorf <[email protected]>2024-05-31 15:13:59 -0700
commita72751a34265492efc115bb6a773e961bb9be82d (patch)
treebc0ebd8bd72a5f4a75a4c0f7194be089f55e9557 /module/icp/illumos-crypto.c
parent4e714c0be10f53eea2d87e6af67bf46d67e94db2 (diff)
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 <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16209
Diffstat (limited to 'module/icp/illumos-crypto.c')
-rw-r--r--module/icp/illumos-crypto.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/module/icp/illumos-crypto.c b/module/icp/illumos-crypto.c
index f5ed3e13f..89736a61b 100644
--- a/module/icp/illumos-crypto.c
+++ b/module/icp/illumos-crypto.c
@@ -136,8 +136,3 @@ icp_init(void)
return (0);
}
-
-#if defined(_KERNEL) && defined(__FreeBSD__)
-module_exit(icp_fini);
-module_init(icp_init);
-#endif