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

From: Stephen Rothwell
Date: Tue Apr 28 2020 - 00:16:59 EST


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")

--
Cheers,
Stephen Rothwell

Attachment: pgpKajd1RSAkm.pgp
Description: OpenPGP digital signature