diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-01-15 09:53:03 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-01-24 23:30:28 -0500 |
commit | fb8d5ea8fd907faa3751a9e5df5d01b5f3803e35 (patch) | |
tree | 65952bd93532d5aae5172de93f8b5859dfada428 /drivers/scsi/hisi_sas | |
parent | 847f9ea4c5186fdb7b84297e3eeed9e340e83fce (diff) | |
download | linux-fb8d5ea8fd907faa3751a9e5df5d01b5f3803e35.tar.gz linux-fb8d5ea8fd907faa3751a9e5df5d01b5f3803e35.tar.bz2 linux-fb8d5ea8fd907faa3751a9e5df5d01b5f3803e35.zip |
scsi: 3w-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/dbbe8671ca760972d80f8d35f3170b4609bee368.1642236763.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 'drivers/scsi/hisi_sas')
0 files changed, 0 insertions, 0 deletions