aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-19 11:58:56 -0500
committerJens Axboe <axboe@kernel.dk>2018-01-19 14:52:03 -0500
commitf5ced52aaa5494c1feb9f80252cb2a2cde0dace8 (patch)
tree8e42f1e569ea4aec5a4d849c1bfa0fb6304336f6
parentae943d20624de0a6aac7dd0597616dce2c498029 (diff)
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>
-rw-r--r--block/blk-core.c14
-rw-r--r--include/linux/blkdev.h2
2 files changed, 0 insertions, 16 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,
3441} 3441}
3442EXPORT_SYMBOL(kblockd_mod_delayed_work_on); 3442EXPORT_SYMBOL(kblockd_mod_delayed_work_on);
3443 3443
3444int kblockd_schedule_delayed_work(struct delayed_work *dwork,
3445 unsigned long delay)
3446{
3447 return queue_delayed_work(kblockd_workqueue, dwork, delay);
3448}
3449EXPORT_SYMBOL(kblockd_schedule_delayed_work);
3450
3451int kblockd_schedule_delayed_work_on(int cpu, struct delayed_work *dwork,
3452 unsigned long delay)
3453{
3454 return queue_delayed_work_on(cpu, kblockd_workqueue, dwork, delay);
3455}
3456EXPORT_SYMBOL(kblockd_schedule_delayed_work_on);
3457
3458/** 3444/**
3459 * blk_start_plug - initialize blk_plug and track it inside the task_struct 3445 * blk_start_plug - initialize blk_plug and track it inside the task_struct
3460 * @plug: The &struct blk_plug that needs to be initialized 3446 * @plug: The &struct blk_plug that needs to be initialized
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 71a9371c8182..afc43fb63c16 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1800,8 +1800,6 @@ static inline bool req_gap_front_merge(struct request *req, struct bio *bio)
1800 1800
1801int kblockd_schedule_work(struct work_struct *work); 1801int kblockd_schedule_work(struct work_struct *work);
1802int kblockd_schedule_work_on(int cpu, struct work_struct *work); 1802int kblockd_schedule_work_on(int cpu, struct work_struct *work);
1803int kblockd_schedule_delayed_work(struct delayed_work *dwork, unsigned long delay);
1804int kblockd_schedule_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay);
1805int kblockd_mod_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay); 1803int kblockd_mod_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay);
1806 1804
1807#ifdef CONFIG_BLK_CGROUP 1805#ifdef CONFIG_BLK_CGROUP