diff options
author | 2022-01-15 10:15:41 +0100 | |
---|---|---|
committer | 2022-01-24 23:30:29 -0500 | |
commit | 012d98dae453821ac31da25595ffa26d4ad49c8c (patch) | |
tree | 68272e3d9911a26c2c2f113ac1f076d202029ba0 /lib/test_overflow.c | |
parent | scsi: hisi_sas: Remove useless DMA-32 fallback configuration (diff) | |
download | linux-dev-012d98dae453821ac31da25595ffa26d4ad49c8c.tar.xz linux-dev-012d98dae453821ac31da25595ffa26d4ad49c8c.zip |
scsi: bfa: 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-bit case will also fail
for the same reason.
Simplify code and remove some dead code accordingly.
[1]: https://lore.kernel.org/linux-kernel/YL3vSPK5DXTNvgdx@infradead.org/#t
Link: https://lore.kernel.org/r/5663cef9b54004fa56cca7ce65f51eadfc3ecddb.1642238127.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions