aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/freebsd
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2022-09-13 19:40:10 -0400
committerGitHub <[email protected]>2022-09-13 16:40:10 -0700
commitd5d10f2aef98e86d4873c435cdbd9b3ced447caf (patch)
tree392a49862db7ba31da3a7126b98dc4e2e8e38a2f /module/os/freebsd
parent710fd1ded68491a164d85aedc69ffd4675ec5c59 (diff)
Cleanup dead spa_boot code
Unused code detected by coverity. Reviewed-by: Allan Jude <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Neal Gompa <[email protected]> Signed-off-by: Richard Yao <[email protected]> Closes #13868
Diffstat (limited to 'module/os/freebsd')
-rw-r--r--module/os/freebsd/zfs/spa_os.c1
-rw-r--r--module/os/freebsd/zfs/zfs_vfsops.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/module/os/freebsd/zfs/spa_os.c b/module/os/freebsd/zfs/spa_os.c
index 251fafcc9..9bc61a6c8 100644
--- a/module/os/freebsd/zfs/spa_os.c
+++ b/module/os/freebsd/zfs/spa_os.c
@@ -58,7 +58,6 @@
#include <sys/fs/zfs.h>
#include <sys/arc.h>
#include <sys/callb.h>
-#include <sys/spa_boot.h>
#include <sys/zfs_ioctl.h>
#include <sys/dsl_scan.h>
#include <sys/dmu_send.h>
diff --git a/module/os/freebsd/zfs/zfs_vfsops.c b/module/os/freebsd/zfs/zfs_vfsops.c
index 4e4a5f8d2..8b60b34d8 100644
--- a/module/os/freebsd/zfs/zfs_vfsops.c
+++ b/module/os/freebsd/zfs/zfs_vfsops.c
@@ -62,7 +62,6 @@
#include <sys/sunddi.h>
#include <sys/dmu_objset.h>
#include <sys/dsl_dir.h>
-#include <sys/spa_boot.h>
#include <sys/jail.h>
#include <ufs/ufs/quota.h>
#include <sys/zfs_quota.h>