Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit a021cac4 authored by Maxime Chevallier's avatar Maxime Chevallier Committed by Mark Brown
Browse files

spi: imx: Remove duplicate variable assignments



Some fields in struct spi_imx_data are assigned a different value twice
in a row, in spi_imx_setupxfer.

Signed-off-by: default avatarMaxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6576bf00
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1106,8 +1106,6 @@ static int spi_imx_setupxfer(struct spi_device *spi,
	if (spi_imx->devtype_data->dynamic_burst && !spi_imx->slave_mode) {
		u32 mask;

		spi_imx->dynamic_burst = 0;
		spi_imx->remainder = 0;
		spi_imx->read_u32  = 1;

		mask = (1 << spi_imx->bits_per_word) - 1;