History

block: Remove kblockd_schedule_delayed_work{,_on}()

The previous patch removed all users of these two functions. Hence also remove the functions themselves.

Bart Van Assche committed 8 years ago

Commit f5ced521 parent ae943d22 files · +0 −16Browse files

Unified · Split

2 files
  1. block/blk-core.c +0 −14
  2. include/linux/blkdev.h +0 −2
block/blk-core.c+0−14
@@ -3441,20 +3441,6 @@ int kblockd_mod_delayed_work_on(int cpu, struct delayed_work *dwork, · 3440 unmodified lines
34413441 }
34423442 EXPORT_SYMBOL(kblockd_mod_delayed_work_on);
34433443
3444−int kblockd_schedule_delayed_work(struct delayed_work *dwork,
3445− unsigned long delay)
3446−{
3447− return queue_delayed_work(kblockd_workqueue, dwork, delay);
3448−}
3449−EXPORT_SYMBOL(kblockd_schedule_delayed_work);
3450−
3451−int 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−}
3456−EXPORT_SYMBOL(kblockd_schedule_delayed_work_on);
3457−
34583444 /**
34593445 * blk_start_plug - initialize blk_plug and track it inside the task_struct
34603446 * @plug: The &struct blk_plug that needs to be initialized
include/linux/blkdev.h+0−2
@@ -1800,8 +1800,6 @@ static inline bool req_gap_front_merge(struct request *req, struct bio *bio) · 1799 unmodified lines
18001800
18011801 int kblockd_schedule_work(struct work_struct *work);
18021802 int kblockd_schedule_work_on(int cpu, struct work_struct *work);
1803−int kblockd_schedule_delayed_work(struct delayed_work *dwork, unsigned long delay);
1804−int kblockd_schedule_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay);
18051803 int kblockd_mod_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay);
18061804
18071805 #ifdef CONFIG_BLK_CGROUP