Skip to content

Commit e959e54

Browse files
igawaxboe
authored andcommitted
block: Remove used kblockd_schedule_work_on()
Commit ee63cfa ("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]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 5b8ea58 commit e959e54

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

block/blk-core.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,12 +1663,6 @@ int kblockd_schedule_work(struct work_struct *work)
16631663
}
16641664
EXPORT_SYMBOL(kblockd_schedule_work);
16651665

1666-
int kblockd_schedule_work_on(int cpu, struct work_struct *work)
1667-
{
1668-
return queue_work_on(cpu, kblockd_workqueue, work);
1669-
}
1670-
EXPORT_SYMBOL(kblockd_schedule_work_on);
1671-
16721666
int kblockd_mod_delayed_work_on(int cpu, struct delayed_work *dwork,
16731667
unsigned long delay)
16741668
{

include/linux/blkdev.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,6 @@ static inline void put_dev_sector(Sector p)
14941494
}
14951495

14961496
int kblockd_schedule_work(struct work_struct *work);
1497-
int kblockd_schedule_work_on(int cpu, struct work_struct *work);
14981497
int kblockd_mod_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay);
14991498

15001499
#define MODULE_ALIAS_BLOCKDEV(major,minor) \

0 commit comments

Comments
 (0)