History

block: Remove unused definitions

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.

Damien Le Moal committed 7 years ago

Commit 36847a01 parent 3a10f992 files · +0 −14Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/elevator.h+0−9
@@ -160,15 +160,6 @@ extern struct request *elv_rb_find(struct rb_root *, sector_t); · 159 unmodified lines
160160 #define ELEVATOR_INSERT_FLUSH 5
161161 #define ELEVATOR_INSERT_SORT_MERGE 6
162162
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−
172163 #define rq_end_sector(rq) (blk_rq_pos(rq) + blk_rq_sectors(rq))
173164 #define rb_entry_rq(node) rb_entry((node), struct request, rb_node)
174165

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t