diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-01-09 16:50:19 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-01-09 16:52:21 -0800 |
commit | e20a471256b0adccfa6b61aa12c4888abb542320 (patch) | |
tree | e3985e2a957117970e2a4ba6cf541c4946eddf78 /drivers/net/ethernet/huawei | |
parent | cfcfc8f5a54b2e125b3be857f630ffc37822df26 (diff) | |
download | linux-stable-e20a471256b0adccfa6b61aa12c4888abb542320.tar.gz linux-stable-e20a471256b0adccfa6b61aa12c4888abb542320.tar.bz2 linux-stable-e20a471256b0adccfa6b61aa12c4888abb542320.zip |
lan743x: 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://lkml.org/lkml/2021/6/7/398
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/ef548716606f257939df9738a801f15b6edf2568.1641743405.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/huawei')
0 files changed, 0 insertions, 0 deletions