block: Remove used kblockd_schedule_work_on()
PATCH 1/1 block: Remove used kblockd_schedule_work_on()
Commit ee63cfa7fc19 ("block: add kblockd_schedule_work_on()") introduced the helper in 2016. Remove it because since then no caller was added.
Cc Jens Axboe <[email protected]>
Signed-off-by Daniel Wagner <[email protected]>
--- block/blk-core.c | 6 ------ include/linux/blkdev.h | 1 - 2 files changed, 7 deletions(-)
block/blk-core.c +0 -6
@@ -1663,12 +1663,6 @@ int kblockd_schedule_work(struct work_struct *work) }EXPORT_SYMBOL (kblockd_schedule_work); -int kblockd_schedule_work_on (int cpu,struct work_struct *work) -{ -return queue_work_on (cpu, kblockd_workqueue, work); -} -EXPORT_SYMBOL (kblockd_schedule_work_on); -int kblockd_mod_delayed_work_on (int cpu,struct delayed_work *dwork,unsigned long delay) {
include/linux/blkdev.h +0 -1
@@ -1494,7 +1494,6 @@ static inline void put_dev_sector(Sector p) }int kblockd_schedule_work (struct work_struct *work); -int kblockd_schedule_work_on (int cpu,struct work_struct *work);int kblockd_mod_delayed_work_on (int cpu,struct delayed_work *dwork,unsigned long delay);#define MODULE_ALIAS_BLOCKDEV (major,minor) \
Signature · 1 line
2.16.4
Quoted 3 lines · Daniel Wagner
Commit
ee63cfa7fc19("block: addkblockd_schedule_work_on()") introduced the helper in 2016. Remove it because since then no caller was added.
Applied, thanks.
Signature · 1 line
Jens Axboe