Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

spi: spi-ti-qspi: remove redundant assignment to variable ret

Variable ret is being assigned a value but it is never read, instead
the variable is being reassigned later in the exit path via label
no_dma. Remove the redundant assignment.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://patch.msgid.link/20241002162652.957102-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Colin Ian King and committed by
Mark Brown
46854574 e8d2b5bd

-1
-1
drivers/spi/spi-ti-qspi.c
··· 863 863 dev_err(qspi->dev, 864 864 "No Rx DMA available, trying mmap mode\n"); 865 865 qspi->rx_chan = NULL; 866 - ret = 0; 867 866 goto no_dma; 868 867 } 869 868 qspi->rx_bb_addr = dma_alloc_coherent(qspi->dev,