From: Jens Axboe Date: Thu, 22 Nov 2012 14:12:05 +0000 (+0100) Subject: Kill now unused bitmap defines from legacy code X-Git-Tag: fio-2.0.12~38^2~8 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=88df6e27928122b895ce51e3a06a6944e328e92e;p=fio.git Kill now unused bitmap defines from legacy code Signed-off-by: Jens Axboe --- 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)