fio: kill td_ioengine_flags()
authorJens Axboe <axboe@kernel.dk>
Wed, 11 Oct 2017 20:52:32 +0000 (14:52 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Oct 2017 20:52:32 +0000 (14:52 -0600)
It's unused.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fio.h

diff --git a/fio.h b/fio.h
index 4809b99ae44ce6001caca81bc996e5d8708b47ab..8ca934d14a4cb6ae1dc7981c5650429555193b1f 100644 (file)
--- 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) |