History

block: get rid of kblock_schedule_delayed_work()

It was briefly introduced to allow CFQ to to delayed scheduling, but we ended up removing that feature again. So lets kill the function and export, and just switch CFQ back to the normal work schedule since it is now passing in a '0' delay from all call sites.

Jens Axboe committed 17 years ago

Commit 23e018a1 parent 48e025e3 files · +11 −25Browse files

Showing the changes to include/linux/blkdev.h (1 of 3 files). Show all

Unified · Split

include/linux/blkdev.h+0−4
@@ -1172,11 +1172,7 @@ static inline void put_dev_sector(Sector p) · 1171 unmodified lines
11721172 }
11731173
11741174 struct work_struct;
1175−struct delayed_work;
11761175 int kblockd_schedule_work(struct request_queue *q, struct work_struct *work);
1177−int kblockd_schedule_delayed_work(struct request_queue *q,
1178− struct delayed_work *work,
1179− unsigned long delay);
11801176
11811177 #define MODULE_ALIAS_BLOCKDEV(major,minor) \
11821178 MODULE_ALIAS("block-major-" __stringify(major) "-" __stringify(minor))