Commit 71581a15 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Mark Brown

spi: fsl-espi: remove unneeded check in fsl_espi_do_trans

SPI core takes care that both values are always populated.
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a755af52
......@@ -279,7 +279,6 @@ static void fsl_espi_do_trans(struct spi_message *m,
trans.tx_buf = espi_trans->tx_buf;
trans.rx_buf = espi_trans->rx_buf;
if (trans.bits_per_word || trans.speed_hz)
fsl_espi_setup_transfer(spi, &trans);
if (trans.len)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment