[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200302132408.15954-1-dwagner@suse.de>
Date: Mon, 2 Mar 2020 14:24:08 +0100
From: Daniel Wagner <dwagner@...e.de>
To: linux-block@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Daniel Wagner <dwagner@...e.de>,
Jens Axboe <axboe@...nel.dk>
Subject: [PATCH] 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 <axboe@...nel.dk>
Signed-off-by: Daniel Wagner <dwagner@...e.de>
---
block/blk-core.c | 6 ------
include/linux/blkdev.h | 1 -
2 files changed, 7 deletions(-)
diff --git a/block/blk-core.c b/block/blk-core.c
index 089e890ab208..60dc9552ef8d 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -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)
{
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 053ea4b51988..1797d1111b44 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -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) \
--
2.16.4
Powered by blists - more mailing lists