From: Jens Axboe Date: Wed, 11 Oct 2017 20:52:32 +0000 (-0600) Subject: fio: kill td_ioengine_flags() X-Git-Tag: fio-3.2~32 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=2b6fa5c9c875492b7000dfccca3b44118700e8dc fio: kill td_ioengine_flags() It's unused. Signed-off-by: Jens Axboe --- diff --git a/fio.h b/fio.h index 4809b99a..8ca934d1 100644 --- a/fio.h +++ b/fio.h @@ -611,12 +611,6 @@ enum { #define TD_ENG_FLAG_SHIFT 16 #define TD_ENG_FLAG_MASK ((1U << 16) - 1) -static inline enum fio_ioengine_flags td_ioengine_flags(struct thread_data *td) -{ - return (enum fio_ioengine_flags) - ((td->flags >> TD_ENG_FLAG_SHIFT) & TD_ENG_FLAG_MASK); -} - static inline void td_set_ioengine_flags(struct thread_data *td) { td->flags = (~(TD_ENG_FLAG_MASK << TD_ENG_FLAG_SHIFT) & td->flags) |