diff options
author | Jens Axboe <axboe@fb.com> | 2014-04-08 11:15:35 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-09 12:17:00 -0400 |
commit | 59c3d45e487315e6e05a3f2310b61109f8e503e7 (patch) | |
tree | b275e73e6ab7dd599d2ec7edd5b9aa6efe361b31 /block/blk-core.c | |
parent | e69f18f06b97ed29645d020500222bfcec2b42b2 (diff) |
block: remove 'q' parameter from kblockd_schedule_*_work()
The queue parameter is never used, just get rid of it.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 34d7c196338b..f7d2c3335dfa 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -2904,14 +2904,14 @@ free_and_out: | |||
2904 | } | 2904 | } |
2905 | EXPORT_SYMBOL_GPL(blk_rq_prep_clone); | 2905 | EXPORT_SYMBOL_GPL(blk_rq_prep_clone); |
2906 | 2906 | ||
2907 | int kblockd_schedule_work(struct request_queue *q, struct work_struct *work) | 2907 | int kblockd_schedule_work(struct work_struct *work) |
2908 | { | 2908 | { |
2909 | return queue_work(kblockd_workqueue, work); | 2909 | return queue_work(kblockd_workqueue, work); |
2910 | } | 2910 | } |
2911 | EXPORT_SYMBOL(kblockd_schedule_work); | 2911 | EXPORT_SYMBOL(kblockd_schedule_work); |
2912 | 2912 | ||
2913 | int kblockd_schedule_delayed_work(struct request_queue *q, | 2913 | int kblockd_schedule_delayed_work(struct delayed_work *dwork, |
2914 | struct delayed_work *dwork, unsigned long delay) | 2914 | unsigned long delay) |
2915 | { | 2915 | { |
2916 | return queue_delayed_work(kblockd_workqueue, dwork, delay); | 2916 | return queue_delayed_work(kblockd_workqueue, dwork, delay); |
2917 | } | 2917 | } |