block: get rid of MQ scheduler ops union

This is a remnant of when we had ops for both SQ and MQ
schedulers. Now it's just MQ, so get rid of the union.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jens Axboe
2018-11-01 16:41:41 -06:00
parent a1ce35fa49
commit f9cd4bfe96
9 changed files with 53 additions and 56 deletions

View File

@@ -69,9 +69,7 @@ struct elevator_type
struct kmem_cache *icq_cache;
/* fields provided by elevator implementation */
union {
struct elevator_mq_ops mq;
} ops;
struct elevator_mq_ops ops;
size_t icq_size; /* see iocontext.h */
size_t icq_align; /* ditto */