linux-next: build warnings after merge of the spi tree

From: Stephen Rothwell
Date: Tue Aug 22 2017 - 02:49:43 EST


Hi all,

After merging the spi tree, today's linux-next build (powerpc
allyesconfig) produced these warnings:

drivers/spi/spi-imx.c: In function 'spi_imx_buf_rx_swap_u32':
drivers/spi/spi-imx.c:284:15: warning: unused variable 'bytes_per_word' [-Wunused-variable]
unsigned int bytes_per_word;
^
drivers/spi/spi-imx.c: In function 'spi_imx_buf_tx_swap_u32':
drivers/spi/spi-imx.c:319:15: warning: unused variable 'bytes_per_word' [-Wunused-variable]
unsigned int bytes_per_word;
^

Introduced by commit

1673c81d9435 ("spi: imx: dynamic burst length adjust for PIO mode")

--
Cheers,
Stephen Rothwell