diff options
author | Christoph Hellwig <hch@lst.de> | 2020-04-25 09:53:34 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-25 17:45:43 +0200 |
commit | a91b2014fc31dc6eaa02ca33aa3b4d1b6e4a0207 (patch) | |
tree | 863ffa5b8708bd736865fe255863f4bdcecf1746 /drivers/md/bcache/request.c | |
parent | block: remove create_io_context (diff) | |
download | linux-a91b2014fc31dc6eaa02ca33aa3b4d1b6e4a0207.tar.xz linux-a91b2014fc31dc6eaa02ca33aa3b4d1b6e4a0207.zip |
bcache: remove a duplicate ->make_request_fn assignment
The make_request_fn pointer should only be assigned by blk_alloc_queue.
Fix a left over manual initialization.
Fixes: ff27668ce809 ("bcache: pass the make_request methods to blk_queue_make_request")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache/request.c')
-rw-r--r-- | drivers/md/bcache/request.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c index 71a90fbec314..77d1a2697517 100644 --- a/drivers/md/bcache/request.c +++ b/drivers/md/bcache/request.c @@ -1372,7 +1372,6 @@ void bch_flash_dev_request_init(struct bcache_device *d) { struct gendisk *g = d->disk; - g->queue->make_request_fn = flash_dev_make_request; g->queue->backing_dev_info->congested_fn = flash_dev_congested; d->cache_miss = flash_dev_cache_miss; d->ioctl = flash_dev_ioctl; |