rsxx: don't call dma_set_max_seg_size
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Jun 2019 19:08:25 +0000 (21:08 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Jun 2019 19:18:39 +0000 (13:18 -0600)
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>
drivers/block/rsxx/core.c

index de9b2d2f86546381234148e4e7956519144b2257..76b73ddf8fd73952d7a58dde4eb56eddc7c91fde 100644 (file)
@@ -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) {