mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
spi: spi-amd: fix warning
remove unused variable "opcode" Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/1588049801-37995-1-git-send-email-sanju.mehta@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
bbb336f39e
commit
68d047cb0a
@ -168,7 +168,7 @@ static inline int amd_spi_fifo_xfer(struct amd_spi *amd_spi,
|
||||
{
|
||||
struct spi_master *master = amd_spi->master;
|
||||
struct spi_transfer *xfer = NULL;
|
||||
u8 cmd_opcode, opcode = 0;
|
||||
u8 cmd_opcode;
|
||||
u8 *buf = NULL;
|
||||
u32 m_cmd = 0;
|
||||
u32 i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user