From 88df6e27928122b895ce51e3a06a6944e328e92e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 22 Nov 2012 15:12:05 +0100 Subject: [PATCH] Kill now unused bitmap defines from legacy code Signed-off-by: Jens Axboe --- fio.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fio.h b/fio.h index f69de0d3..654db5f5 100644 --- a/fio.h +++ b/fio.h @@ -588,11 +588,6 @@ static inline void fio_ro_check(struct thread_data *td, struct io_u *io_u) assert(!(io_u->ddir == DDIR_WRITE && !td_write(td))); } -#define BLOCKS_PER_MAP (8 * sizeof(unsigned long)) -#define TO_MAP_BLOCK(f, b) (b) -#define RAND_MAP_IDX(f, b) (TO_MAP_BLOCK(f, b) / BLOCKS_PER_MAP) -#define RAND_MAP_BIT(f, b) (TO_MAP_BLOCK(f, b) & (BLOCKS_PER_MAP - 1)) - #define REAL_MAX_JOBS 2048 static inline enum error_type_bit td_error_type(enum fio_ddir ddir, int err) -- 2.25.1