Skip to contentSkip to conversation

spi: fsl-spi: remove unused variable assignment

PATCH Applied Heiner Kallweit 3 participants 3 messages Dec 4, 2014 1 message not in the archive SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: fsl-spi: remove unused variable assignment

Remove an unused variable assignment.

---
 drivers/spi/spi-fsl-spi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spi-fsl-spi.c +0 -1
index 83f8081..60c5907 100644
@@ -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;
Signature · 6 lines
2.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]