Message ID | 5480B5CB.9070503@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 1a7e06d2602f388485ba507bbee70766408db8ee |
Headers | show |
On Thu, Dec 4, 2014 at 5:28 PM, Heiner Kallweit <hkallweit1@gmail.com> wrote: > Remove an unused variable assignment. > > Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com> -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Dec 04, 2014 at 08:28:11PM +0100, Heiner Kallweit wrote:
> Remove an unused variable assignment.
Applied, thanks.
diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c index 83f8081..60c5907 100644 --- a/drivers/spi/spi-fsl-spi.c +++ b/drivers/spi/spi-fsl-spi.c @@ -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;
Remove an unused variable assignment. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> --- drivers/spi/spi-fsl-spi.c | 1 - 1 file changed, 1 deletion(-)