commit | cfcfc8f5a54b2e125b3be857f630ffc37822df26 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sun Jan 09 16:41:43 2022 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Sun Jan 09 16:52:20 2022 -0800 |
tree | d152eea56d62b56b706ea63d892c92e4820b48a7 | |
parent | 030f9ce8c739a5cfa420291188023b7741b7bc73 [diff] |
net: enetc: 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/dbecd4eb49a9586ee343b5473dda4b84c42112e9.1641742884.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org>