The ELV_MQUEUE_XXX definitions in include/linux/elevator.h are unused since the removal of elevator_may_queue_fn in kernel 5.0. Remove these definitions and also remove the documentation of elevator_may_queue_fn in Documentiation/block/biodoc.txt.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -160,15 +160,6 @@ extern struct request *elv_rb_find(struct rb_root *, sector_t); · 159 unmodified lines | ||
| 160 | 160 | #define ELEVATOR_INSERT_FLUSH 5 |
| 161 | 161 | #define ELEVATOR_INSERT_SORT_MERGE 6 |
| 162 | 162 | |
| 163 | −/* | |
| 164 | − * return values from elevator_may_queue_fn | |
| 165 | − */ | |
| 166 | −enum { | |
| 167 | − ELV_MQUEUE_MAY, | |
| 168 | − ELV_MQUEUE_NO, | |
| 169 | − ELV_MQUEUE_MUST, | |
| 170 | −}; | |
| 171 | − | |
| 172 | 163 | #define rq_end_sector(rq) (blk_rq_pos(rq) + blk_rq_sectors(rq)) |
| 173 | 164 | #define rb_entry_rq(node) rb_entry((node), struct request, rb_node) |
| 174 | 165 | |