summaryrefslogtreecommitdiff
path: root/libbcachefs/bbpos_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/bbpos_types.h')
-rw-r--r--libbcachefs/bbpos_types.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/libbcachefs/bbpos_types.h b/libbcachefs/bbpos_types.h
deleted file mode 100644
index 5198e94c..00000000
--- a/libbcachefs/bbpos_types.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _BCACHEFS_BBPOS_TYPES_H
-#define _BCACHEFS_BBPOS_TYPES_H
-
-struct bbpos {
- enum btree_id btree;
- struct bpos pos;
-};
-
-static inline struct bbpos BBPOS(enum btree_id btree, struct bpos pos)
-{
- return (struct bbpos) { btree, pos };
-}
-
-#define BBPOS_MIN BBPOS(0, POS_MIN)
-#define BBPOS_MAX BBPOS(BTREE_ID_NR - 1, POS_MAX)
-
-#endif /* _BCACHEFS_BBPOS_TYPES_H */