diff options
author | Christophe JAILLET | 2022-01-09 09:50:22 +0100 |
---|---|---|
committer | Jakub Kicinski | 2022-01-09 16:52:19 -0800 |
commit | c38f30683956722b2de31f026e73c8622a2fade3 (patch) | |
tree | 5d3e4759677dc00eeb52397e7ae4a6c2e77a1b9e /drivers/power | |
parent | 9aaa82d2e8d5d39472aebef5d3fcf033421b645f (diff) |
vmxnet3: 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.
So if dma_set_mask_and_coherent() succeeds, 'dma64' is know to be 'true'.
Simplify code and remove some dead code accordingly.
[1]: https://lkml.org/lkml/2021/6/7/398
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/43e5dcf1a5e9e9c5d2d86f87810d6e93e3d22e32.1641718188.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions