WSL2-Linux-Kernel/drivers/scsi/hisi_sas
Christophe JAILLET 8001fa240f scsi: hisi_sas: 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/1bf2d3660178b0e6f172e5208bc0bd68d31d9268.1642237482.git.christophe.jaillet@wanadoo.fr
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-01-24 23:30:29 -05:00
..
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile
hisi_sas.h scsi: hisi_sas: Keep controller active between ISR of phyup and the event being processed 2021-12-22 23:38:31 -05:00
hisi_sas_main.c scsi: hisi_sas: Remove useless DMA-32 fallback configuration 2022-01-24 23:30:29 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: Switch to attribute groups 2021-10-16 21:45:55 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Switch to attribute groups 2021-10-16 21:45:55 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Remove useless DMA-32 fallback configuration 2022-01-24 23:30:29 -05:00