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

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>

authored by

Heiner Kallweit and committed by
Mark Brown
1a7e06d2 75c41088

-1
-1
drivers/spi/spi-fsl-spi.c
··· 368 368 list_for_each_entry(t, &m->transfers, transfer_list) { 369 369 if ((first->bits_per_word != t->bits_per_word) || 370 370 (first->speed_hz != t->speed_hz)) { 371 - status = -EINVAL; 372 371 dev_err(&spi->dev, 373 372 "bits_per_word/speed_hz should be same for the same SPI transfer\n"); 374 373 return -EINVAL;