summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-19 17:58:56 +0100
committerJens Axboe <axboe@kernel.dk>2018-01-19 20:52:03 +0100
commitf5ced52aaa5494c1feb9f80252cb2a2cde0dace8 (patch)
tree8e42f1e569ea4aec5a4d849c1bfa0fb6304336f6 /block
parentblk-mq: Avoid that blk_mq_delay_run_hw_queue() introduces unintended delays (diff)
downloadlinux-f5ced52aaa5494c1feb9f80252cb2a2cde0dace8.tar.xz
linux-f5ced52aaa5494c1feb9f80252cb2a2cde0dace8.zip
block: Remove kblockd_schedule_delayed_work{,_on}()
The previous patch removed all users of these two functions. Hence also remove the functions themselves. Reviewed-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 1645a1e54a37..cdae69be68e9 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -3441,20 +3441,6 @@ int kblockd_mod_delayed_work_on(int cpu, struct delayed_work *dwork,
}
EXPORT_SYMBOL(kblockd_mod_delayed_work_on);
-int kblockd_schedule_delayed_work(struct delayed_work *dwork,
- unsigned long delay)
-{
- return queue_delayed_work(kblockd_workqueue, dwork, delay);
-}
-EXPORT_SYMBOL(kblockd_schedule_delayed_work);
-
-int kblockd_schedule_delayed_work_on(int cpu, struct delayed_work *dwork,
- unsigned long delay)
-{
- return queue_delayed_work_on(cpu, kblockd_workqueue, dwork, delay);
-}
-EXPORT_SYMBOL(kblockd_schedule_delayed_work_on);
-
/**
* blk_start_plug - initialize blk_plug and track it inside the task_struct
* @plug: The &struct blk_plug that needs to be initialized