9
0
Fork 0

spi: altera_spi: Remove redundant assignment

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2014-02-16 08:40:47 +04:00 committed by Sascha Hauer
parent 2126c89004
commit 56b3558f1d
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ static void altera_spi_cs_inactive(struct spi_device *spi)
static unsigned altera_spi_do_xfer(struct spi_device *spi, struct spi_transfer *t)
{
struct altera_spi *altera_spi = container_of(spi->master, struct altera_spi, master);
int word_len = spi->bits_per_word;
int word_len;
unsigned retval = 0;
u32 txval;
u32 rxval;