summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2020-07-06 17:34:41 +0300
committerMark Brown <broonie@kernel.org>2020-07-07 12:41:39 +0300
commite4e8ca3f43f97c82dbaef30e018acc4fd1ededf0 (patch)
treec0ff9cc073fc098636aeacfc7c69654561e77d19 /crypto
parent92a52ee893c1ee5656df81f34f88aafe4e7e5033 (diff)
downloadlinux-e4e8ca3f43f97c82dbaef30e018acc4fd1ededf0.tar.xz
spi: spi-sun6i: sun6i_spi_fill_fifo(): remove not needed length argument
The function sun6i_spi_fill_fifo() is called with a length argument of "sspi->fifo_depth" and "SUN6I_FIFO_DEPTH". The driver reads the number of free bytes in the FIFO from the hardware and uses the length argument to limit this value. This is not needed as the number of free bytes in the FIFO is always less or equal the depth of the FIFO. This patch removes the length argument and check. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Acked-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20200706143443.9855-9-mkl@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions