diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-11-21 10:03:02 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-23 17:01:48 -0800 |
commit | 8ff39301efd9d21cd62caad3504aa8d6e35d8304 (patch) | |
tree | 56c51d7168347192ce1c03b3f11539f584133a17 /net/compat.c | |
parent | 1119ea801955d93169b652f4dd3d46c455272c88 (diff) | |
download | linux-8ff39301efd9d21cd62caad3504aa8d6e35d8304.tar.bz2 |
net: pch_gbe: 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.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20201121090302.1332491-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions