aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/rocker
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-01-09 16:57:50 +0100
committerJakub Kicinski <kuba@kernel.org>2022-01-09 16:52:21 -0800
commit004464835bfc6e24c9fa468153f52f4e4f1d610e (patch)
tree55acd01e1c41af62faea2fb62dd6a337d99fffa1 /drivers/net/ethernet/rocker
parentlan743x: Remove useless DMA-32 fallback configuration (diff)
downloadlinux-dev-004464835bfc6e24c9fa468153f52f4e4f1d610e.tar.xz
linux-dev-004464835bfc6e24c9fa468153f52f4e4f1d610e.zip
hinic: 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/23541c28df8d0dcd3663b5dbe0f76af71e70e9cc.1641743855.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/rocker')
0 files changed, 0 insertions, 0 deletions