mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-05 18:48:40 +00:00
As stated in [1], dma_set_mask() with a 64-bit mask will never fail 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, 'using_dac' is known to be 'true'. This variable can be removed. 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/1d5a7b3f4fa735f1233c3eb3fa07e71df95fad75.1641658516.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org> |
||
|---|---|---|
| .. | ||
| bfa_cee.c | ||
| bfa_cee.h | ||
| bfa_cs.h | ||
| bfa_defs_cna.h | ||
| bfa_defs_mfg_comm.h | ||
| bfa_defs_status.h | ||
| bfa_defs.h | ||
| bfa_ioc_ct.c | ||
| bfa_ioc.c | ||
| bfa_ioc.h | ||
| bfa_msgq.c | ||
| bfa_msgq.h | ||
| bfi_cna.h | ||
| bfi_enet.h | ||
| bfi_reg.h | ||
| bfi.h | ||
| bna_enet.c | ||
| bna_hw_defs.h | ||
| bna_tx_rx.c | ||
| bna_types.h | ||
| bna.h | ||
| bnad_debugfs.c | ||
| bnad_ethtool.c | ||
| bnad.c | ||
| bnad.h | ||
| cna_fwimg.c | ||
| cna.h | ||
| Kconfig | ||
| Makefile | ||