[PATCH 2/2] SPI: i.MX: Remove redundant assignment
Alexander Shiyan
shc_work at mail.ru
Sat Apr 26 23:17:07 PDT 2014
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
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
More information about the barebox
mailing list