summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-01-09 09:35:18 +0100
committerJason Gunthorpe <jgg@nvidia.com>2022-01-28 15:49:04 +0100
commitac491992f3705178e18eb185f392bf3fa2f6f54d (patch)
tree590a04486c2583772a2e9ff747f4c90d3f190757 /drivers/pci
parentIB/mthca: Remove useless DMA-32 fallback configuration (diff)
downloadlinux-ac491992f3705178e18eb185f392bf3fa2f6f54d.tar.xz
linux-ac491992f3705178e18eb185f392bf3fa2f6f54d.zip
RDMA/pvrdma: Remove useless DMA-32 fallback configuration
As stated in [1], dma_set_mask() with a 64-bit mask never fails if dev->dma_mask is non-NULL. So, if it fails, the 32 bits case will also fail for the same reason. Simplify code and remove some dead code accordingly. [1]: https://lore.kernel.org/r/YL3vSPK5DXTNvgdx@infradead.org Link: https://lore.kernel.org/r/10c29cb45d14fb8ed89cf1308c4a9a7d445c52eb.1641717275.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions