diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-11-21 10:51:27 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-11-23 16:37:20 -0400 |
commit | df0e4de29c75fab2d59b67b7542ea1e10d32c6e1 (patch) | |
tree | f31e18a2ed32570e46a2cada39aab80fa7c9e3d9 /drivers/nvme/host/pci.c | |
parent | 82101630222fc6caa21502df0d02e0153aaf25d2 (diff) |
IB/qib: Use dma_set_mask_and_coherent to simplify code
'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by
an equivalent 'dma_set_mask_and_coherent()' which is much less verbose.
Link: https://lore.kernel.org/r/20201121095127.1335228-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/nvme/host/pci.c')
0 files changed, 0 insertions, 0 deletions