summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/raidz_test/raidz_bench.c2
-rw-r--r--cmd/zfs/zfs_main.c2
-rw-r--r--cmd/zpool/os/linux/zpool_vdev_os.c3
-rw-r--r--include/sys/dmu_recv.h1
-rw-r--r--include/sys/dmu_send.h1
-rw-r--r--lib/libspl/include/sys/dklabel.h1
-rw-r--r--lib/libzfs/libzfs_dataset.c2
-rw-r--r--lib/libzfs/libzfs_pool.c1
-rw-r--r--lib/libzfs/libzfs_sendrecv.c1
-rw-r--r--lib/libzutil/os/linux/zutil_import_os.c1
-rw-r--r--lib/libzutil/zutil_import.c1
-rw-r--r--module/os/linux/zfs/arc_os.c1
-rw-r--r--module/zfs/arc.c1
-rw-r--r--module/zfs/dmu_recv.c1
-rw-r--r--module/zfs/fm.c1
15 files changed, 0 insertions, 20 deletions
diff --git a/cmd/raidz_test/raidz_bench.c b/cmd/raidz_test/raidz_bench.c
index a3446c52c..f44d6fbde 100644
--- a/cmd/raidz_test/raidz_bench.c
+++ b/cmd/raidz_test/raidz_bench.c
@@ -31,8 +31,6 @@
#include <sys/vdev_raidz_impl.h>
#include <stdio.h>
-#include <sys/time.h>
-
#include "raidz_test.h"
#define GEN_BENCH_MEMORY (((uint64_t)1ULL)<<32)
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c
index 9a59fddbf..1a5129f79 100644
--- a/cmd/zfs/zfs_main.c
+++ b/cmd/zfs/zfs_main.c
@@ -53,7 +53,6 @@
#include <grp.h>
#include <pwd.h>
#include <signal.h>
-#include <sys/debug.h>
#include <sys/list.h>
#include <sys/mkdev.h>
#include <sys/mntent.h>
@@ -71,7 +70,6 @@
#include <zfs_prop.h>
#include <zfs_deleg.h>
#include <libzutil.h>
-#include <libuutil.h>
#ifdef HAVE_IDMAP
#include <aclutils.h>
#include <directory.h>
diff --git a/cmd/zpool/os/linux/zpool_vdev_os.c b/cmd/zpool/os/linux/zpool_vdev_os.c
index d087c4c14..55a9367ec 100644
--- a/cmd/zpool/os/linux/zpool_vdev_os.c
+++ b/cmd/zpool/os/linux/zpool_vdev_os.c
@@ -79,9 +79,6 @@
#include <scsi/scsi.h>
#include <scsi/sg.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <sys/efi_partition.h>
#include <sys/stat.h>
#include <sys/vtoc.h>
diff --git a/include/sys/dmu_recv.h b/include/sys/dmu_recv.h
index dacc6b782..7188b2a02 100644
--- a/include/sys/dmu_recv.h
+++ b/include/sys/dmu_recv.h
@@ -34,7 +34,6 @@
#include <sys/dsl_dataset.h>
#include <sys/spa.h>
#include <sys/objlist.h>
-#include <sys/dsl_bookmark.h>
extern const char *recv_clone_name;
diff --git a/include/sys/dmu_send.h b/include/sys/dmu_send.h
index d6d050e01..d150f816c 100644
--- a/include/sys/dmu_send.h
+++ b/include/sys/dmu_send.h
@@ -34,7 +34,6 @@
#include <sys/dsl_bookmark.h>
#include <sys/spa.h>
#include <sys/objlist.h>
-#include <sys/dsl_bookmark.h>
#include <sys/dmu_redact.h>
#define BEGINNV_REDACT_SNAPS "redact_snaps"
diff --git a/lib/libspl/include/sys/dklabel.h b/lib/libspl/include/sys/dklabel.h
index 95faf2bb4..8c2ca06c0 100644
--- a/lib/libspl/include/sys/dklabel.h
+++ b/lib/libspl/include/sys/dklabel.h
@@ -31,7 +31,6 @@
#include <sys/isa_defs.h>
#include <sys/types32.h>
-#include <sys/isa_defs.h>
#ifdef __cplusplus
extern "C" {
diff --git a/lib/libzfs/libzfs_dataset.c b/lib/libzfs/libzfs_dataset.c
index 47418b323..4598e87f2 100644
--- a/lib/libzfs/libzfs_dataset.c
+++ b/lib/libzfs/libzfs_dataset.c
@@ -48,7 +48,6 @@
#include <sys/mount.h>
#include <pwd.h>
#include <grp.h>
-#include <stddef.h>
#include <ucred.h>
#ifdef HAVE_IDMAP
#include <idmap.h>
@@ -66,7 +65,6 @@
#include "zfs_namecheck.h"
#include "zfs_prop.h"
#include "libzfs_impl.h"
-#include "libzfs.h"
#include "zfs_deleg.h"
static int userquota_propname_decode(const char *propname, boolean_t zoned,
diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c
index 193446653..0af56ec32 100644
--- a/lib/libzfs/libzfs_pool.c
+++ b/lib/libzfs/libzfs_pool.c
@@ -49,7 +49,6 @@
#include <dlfcn.h>
#include <libzutil.h>
#include <fcntl.h>
-#include <unistd.h>
#include "zfs_namecheck.h"
#include "zfs_prop.h"
diff --git a/lib/libzfs/libzfs_sendrecv.c b/lib/libzfs/libzfs_sendrecv.c
index 1e3a0bf56..bc887e72a 100644
--- a/lib/libzfs/libzfs_sendrecv.c
+++ b/lib/libzfs/libzfs_sendrecv.c
@@ -48,7 +48,6 @@
#include <sys/avl.h>
#include <sys/debug.h>
#include <sys/stat.h>
-#include <stddef.h>
#include <pthread.h>
#include <umem.h>
#include <time.h>
diff --git a/lib/libzutil/os/linux/zutil_import_os.c b/lib/libzutil/os/linux/zutil_import_os.c
index 519ab3a07..2e0baecb3 100644
--- a/lib/libzutil/os/linux/zutil_import_os.c
+++ b/lib/libzutil/os/linux/zutil_import_os.c
@@ -61,7 +61,6 @@
#include <sys/dktp/fdisk.h>
#include <sys/vdev_impl.h>
#include <sys/fs/zfs.h>
-#include <sys/vdev_impl.h>
#include <thread_pool.h>
#include <libzutil.h>
diff --git a/lib/libzutil/zutil_import.c b/lib/libzutil/zutil_import.c
index e1f31b385..93d05354f 100644
--- a/lib/libzutil/zutil_import.c
+++ b/lib/libzutil/zutil_import.c
@@ -62,7 +62,6 @@
#include <sys/dktp/fdisk.h>
#include <sys/vdev_impl.h>
#include <sys/fs/zfs.h>
-#include <sys/vdev_impl.h>
#include <thread_pool.h>
#include <libzutil.h>
diff --git a/module/os/linux/zfs/arc_os.c b/module/os/linux/zfs/arc_os.c
index 83d4a3d84..465775a67 100644
--- a/module/os/linux/zfs/arc_os.c
+++ b/module/os/linux/zfs/arc_os.c
@@ -38,7 +38,6 @@
#include <sys/vdev_trim.h>
#include <sys/vdev_impl.h>
#include <sys/dsl_pool.h>
-#include <sys/zio_checksum.h>
#include <sys/multilist.h>
#include <sys/abd.h>
#include <sys/zil.h>
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index 9be0a4e8a..55c71a382 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -294,7 +294,6 @@
#include <sys/vdev.h>
#include <sys/vdev_impl.h>
#include <sys/dsl_pool.h>
-#include <sys/zio_checksum.h>
#include <sys/multilist.h>
#include <sys/abd.h>
#include <sys/zil.h>
diff --git a/module/zfs/dmu_recv.c b/module/zfs/dmu_recv.c
index a0fd157eb..123ea05b0 100644
--- a/module/zfs/dmu_recv.c
+++ b/module/zfs/dmu_recv.c
@@ -53,7 +53,6 @@
#include <sys/avl.h>
#include <sys/ddt.h>
#include <sys/zfs_onexit.h>
-#include <sys/dmu_send.h>
#include <sys/dsl_destroy.h>
#include <sys/blkptr.h>
#include <sys/dsl_bookmark.h>
diff --git a/module/zfs/fm.c b/module/zfs/fm.c
index a5003f85d..3070cab1e 100644
--- a/module/zfs/fm.c
+++ b/module/zfs/fm.c
@@ -67,7 +67,6 @@
#include <sys/atomic.h>
#include <sys/condvar.h>
#include <sys/console.h>
-#include <sys/time.h>
#include <sys/zfs_ioctl.h>
int zfs_zevent_len_max = 0;