From f9df3ada6cc55f08edfa27ccb7ccf2183b94f8fb Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 22 Apr 2020 17:52:15 -0700 Subject: [PATCH] scoutfs: remove MAX key TYPE and ZONE These were used for constructing arrays of string mappings of key fields. We don't print keys with symbolic strings anymore so we don't need to maintain these values anymore. Signed-off-by: Zach Brown --- kmod/src/format.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kmod/src/format.h b/kmod/src/format.h index 2d295d20..493a4ae3 100644 --- a/kmod/src/format.h +++ b/kmod/src/format.h @@ -348,7 +348,6 @@ struct scoutfs_bloom_block { #define SCOUTFS_RID_ZONE 3 #define SCOUTFS_FS_ZONE 4 #define SCOUTFS_LOCK_ZONE 5 -#define SCOUTFS_MAX_ZONE 8 /* power of 2 is efficient */ /* inode index zone */ #define SCOUTFS_INODE_INDEX_META_SEQ_TYPE 1 @@ -373,9 +372,6 @@ struct scoutfs_bloom_block { /* lock zone, only ever found in lock ranges, never in persistent items */ #define SCOUTFS_RENAME_TYPE 1 -#define SCOUTFS_MAX_TYPE 8 /* power of 2 is efficient */ - - /* * The extents that map blocks in a fixed-size logical region of a file * are packed and stored in item values. The packed extents are