diff options
author | Christoph Hellwig | 2019-06-05 21:08:25 +0200 |
---|---|---|
committer | Jens Axboe | 2019-06-05 21:18:39 +0200 |
commit | 84f3fc7aec42cefba34839d541d8bf8a3087e123 (patch) | |
tree | 712ebb29a6d7a3d7357326e9ee7147546e2cc1e2 /drivers/block | |
parent | nvme-pci: don't limit DMA segement size (diff) | |
download | kernel-qcow2-linux-84f3fc7aec42cefba34839d541d8bf8a3087e123.tar.gz kernel-qcow2-linux-84f3fc7aec42cefba34839d541d8bf8a3087e123.tar.xz kernel-qcow2-linux-84f3fc7aec42cefba34839d541d8bf8a3087e123.zip |
rsxx: don't call dma_set_max_seg_size
This driver does never uses dma_map_sg, so the setting is rather
pointless.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/rsxx/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/rsxx/core.c b/drivers/block/rsxx/core.c index de9b2d2f8654..76b73ddf8fd7 100644 --- a/drivers/block/rsxx/core.c +++ b/drivers/block/rsxx/core.c @@ -767,7 +767,6 @@ static int rsxx_pci_probe(struct pci_dev *dev, goto failed_enable; pci_set_master(dev); - dma_set_max_seg_size(&dev->dev, RSXX_HW_BLK_SIZE); st = dma_set_mask(&dev->dev, DMA_BIT_MASK(64)); if (st) { |