diff options
author | Andrea Gelmini <[email protected]> | 2021-03-22 20:34:58 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-22 12:34:58 -0700 |
commit | 8a915ba1f66edc3863c0dcb1c2a4f83582cd4a94 (patch) | |
tree | 2be6603c530ef0b2680c09d862df6b83425ac450 /lib | |
parent | be1e69f31c9edc3f46ff82a411e50c8d2c19329d (diff) |
Removed duplicated includes
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Andrea Gelmini <[email protected]>
Closes #11775
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libspl/include/sys/dklabel.h | 1 | ||||
-rw-r--r-- | lib/libzfs/libzfs_dataset.c | 2 | ||||
-rw-r--r-- | lib/libzfs/libzfs_pool.c | 1 | ||||
-rw-r--r-- | lib/libzfs/libzfs_sendrecv.c | 1 | ||||
-rw-r--r-- | lib/libzutil/os/linux/zutil_import_os.c | 1 | ||||
-rw-r--r-- | lib/libzutil/zutil_import.c | 1 |
6 files changed, 0 insertions, 7 deletions
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> |