mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![]() 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> |
||
---|---|---|
.. | ||
efct_driver.c | ||
efct_driver.h | ||
efct_hw.c | ||
efct_hw.h | ||
efct_hw_queues.c | ||
efct_io.c | ||
efct_io.h | ||
efct_lio.c | ||
efct_lio.h | ||
efct_scsi.c | ||
efct_scsi.h | ||
efct_unsol.c | ||
efct_unsol.h | ||
efct_xport.c | ||
efct_xport.h |