summaryrefslogtreecommitdiff
path: root/include/zfs_common.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-07-23 01:28:34 +0200
committerTom Rini <trini@konsulko.com>2024-07-29 15:01:04 -0600
commit6627fbba203f89a316299d35f6a2ff3f33dd15c8 (patch)
treecce8ae95fef0efc70c6ee256b3f007951aaec56f /include/zfs_common.h
parenta1af57b70ad14fc490b5227d11c0edd954a81978 (diff)
include: Remove duplicate newlines
Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'include/zfs_common.h')
-rw-r--r--include/zfs_common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/zfs_common.h b/include/zfs_common.h
index cb83e59e836..8b93d689c90 100644
--- a/include/zfs_common.h
+++ b/include/zfs_common.h
@@ -27,14 +27,12 @@
#define SECTOR_SIZE 0x200
#define SECTOR_BITS 9
-
typedef enum zfs_endian {
UNKNOWN_ENDIAN = -2,
LITTLE_ENDIAN = -1,
BIG_ENDIAN = 0
} zfs_endian_t;
-
/* Endian macros. */
#define zfs_to_cpu16(x, a) (((a) == BIG_ENDIAN) ? be16_to_cpu(x) \
: le16_to_cpu(x))
@@ -51,7 +49,6 @@ typedef enum zfs_endian {
#define cpu_to_zfs64(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be64(x) \
: cpu_to_le64(x))
-
enum zfs_errors {
ZFS_ERR_NONE = 0,
ZFS_ERR_NOT_IMPLEMENTED_YET = -1,
@@ -89,9 +86,6 @@ struct zfs_dirhook_info {
time_t mtime2;
};
-
-
-
struct zfs_filesystem *zfsget_fs(void);
int zfs_open(zfs_file_t, const char *filename);
uint64_t zfs_read(zfs_file_t, char *buf, uint64_t len);