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

Stephen Rothwell
2020-04-28T04:16:22Z

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

Hi all,

After merging the spi tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/spi/spi-amd.c: In function 'amd_spi_fifo_xfer':
drivers/spi/spi-amd.c:171:17: warning: unused variable 'opcode' [-Wunused-variable]
171 | u8 cmd_opcode, opcode = 0;
| ^~~~~~

Introduced by commit

bbb336f39efc ("spi: spi-amd: Add AMD SPI controller driver support")