projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a48bc52
)
rsxx: don't call dma_set_max_seg_size
author
Christoph Hellwig
<hch@lst.de>
Wed, 5 Jun 2019 19:08:25 +0000
(21:08 +0200)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/drivers/block/rsxx/core.c
b/drivers/block/rsxx/core.c
index de9b2d2f86546381234148e4e7956519144b2257..76b73ddf8fd73952d7a58dde4eb56eddc7c91fde 100644
(file)
--- 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) {