Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- drivers/spi/imx_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/imx_spi.c b/drivers/spi/imx_spi.c index 45461bd..7a347f9 100644 --- a/drivers/spi/imx_spi.c +++ b/drivers/spi/imx_spi.c @@ -430,7 +430,7 @@ static void imx_spi_do_transfer(struct spi_device *spi, struct spi_transfer *t) static int imx_spi_transfer(struct spi_device *spi, struct spi_message *mesg) { struct imx_spi *imx = container_of(spi->master, struct imx_spi, master); - struct spi_transfer *t = NULL; + struct spi_transfer *t; imx->chipselect(spi, 1); -- 1.8.3.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox