1
0
Fork 0

spi: fsl-spi: remove unused variable assignment

Remove an unused variable assignment.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
hifive-unleashed-5.1
Heiner Kallweit 2014-12-04 20:28:11 +01:00 committed by Mark Brown
parent 75c410884a
commit 1a7e06d260
1 changed files with 0 additions and 1 deletions

View File

@ -368,7 +368,6 @@ static int fsl_spi_do_one_msg(struct spi_master *master,
list_for_each_entry(t, &m->transfers, transfer_list) {
if ((first->bits_per_word != t->bits_per_word) ||
(first->speed_hz != t->speed_hz)) {
status = -EINVAL;
dev_err(&spi->dev,
"bits_per_word/speed_hz should be same for the same SPI transfer\n");
return -EINVAL;