diff options
author | Stephan Linz <linz@li-pro.net> | 2012-08-08 01:29:39 +0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-09-11 11:24:56 +0400 |
commit | 03afad2fc90dcff42402b0183f4b4f5119f99a18 (patch) | |
tree | be08e788b296677a6d04bb7b632d0c6769a98d95 /drivers/spi/xilinx_spi.c | |
parent | 25239e12d9059d75c0ac12c26691a00321aad0cc (diff) | |
download | u-boot-03afad2fc90dcff42402b0183f4b4f5119f99a18.tar.xz |
spi: xilinx: Remove unused variable
Warning is:
xilinx_spi.c: In function 'spi_setup_slave':
xilinx_spi.c:81: warning: unused variable 'regs'
Signed-off-by: Stephan Linz <linz@li-pro.net>
CC: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/spi/xilinx_spi.c')
-rw-r--r-- | drivers/spi/xilinx_spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c index e563c19051..52a4134f18 100644 --- a/drivers/spi/xilinx_spi.c +++ b/drivers/spi/xilinx_spi.c @@ -78,7 +78,6 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, unsigned int max_hz, unsigned int mode) { struct xilinx_spi_slave *xilspi; - struct xilinx_spi_reg *regs; if (!spi_cs_is_valid(bus, cs)) { printf("XILSPI error: %s: unsupported bus %d / cs %d\n", |