Christophe JAILLET 1aa7d9799e scsi: efct: 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.

While at it, return the error code returned by dma_set_mask_and_coherent()
instead of -1.

[1]: https://lkml.org/lkml/2021/6/7/398

Link: https://lore.kernel.org/r/958bcb2a6e86344c14f38369e8e7079615a2b0e3.1641754613.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-01-10 10:37:02 -05:00
..
2020-03-11 23:07:59 -04:00
2021-11-05 08:42:02 -07:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-01-22 21:14:08 -05:00
2021-12-22 23:40:02 -05:00
2020-03-11 23:07:59 -04:00
2020-09-02 22:49:06 -04:00
2021-10-16 21:45:56 -04:00
2021-04-13 00:20:48 -04:00
2020-12-07 20:24:09 -05:00
2021-10-16 21:29:15 -04:00
2021-12-22 23:42:53 -05:00
2020-12-07 20:24:09 -05:00
2021-05-21 16:59:33 -04:00
2021-10-29 06:50:52 -06:00
2021-03-24 23:03:43 -04:00
2021-11-12 12:25:50 -08:00
2021-10-29 06:50:52 -06:00
2021-12-22 23:41:13 -05:00
2021-12-22 23:41:13 -05:00
2021-10-29 06:50:52 -06:00
2021-08-23 12:54:30 -06:00
2021-11-05 08:42:02 -07:00
2021-04-13 00:20:48 -04:00
2021-11-05 08:42:02 -07:00