diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-14 17:02:18 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-15 20:13:35 +0100 |
commit | 6d46964230d182c4b6097379738849a809d791dc (patch) | |
tree | b5affc08e2d8e1361de33ff8cfa41048cc182d84 /drivers/nvdimm | |
parent | mmc: stop abusing the request queue_lock pointer (diff) | |
download | linux-6d46964230d182c4b6097379738849a809d791dc.tar.xz linux-6d46964230d182c4b6097379738849a809d791dc.zip |
block: remove the lock argument to blk_alloc_queue_node
With the legacy request path gone there is no real need to override the
queue_lock.
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvdimm')
-rw-r--r-- | drivers/nvdimm/pmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c index 0e39e3d1846f..f7019294740c 100644 --- a/drivers/nvdimm/pmem.c +++ b/drivers/nvdimm/pmem.c @@ -393,7 +393,7 @@ static int pmem_attach_disk(struct device *dev, return -EBUSY; } - q = blk_alloc_queue_node(GFP_KERNEL, dev_to_node(dev), NULL); + q = blk_alloc_queue_node(GFP_KERNEL, dev_to_node(dev)); if (!q) return -ENOMEM; |