diff options
author | Stephan Linz <linz@li-pro.net> | 2012-08-07 23:29:39 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-09-11 09:24:56 +0200 |
commit | 03afad2fc90dcff42402b0183f4b4f5119f99a18 (patch) | |
tree | be08e788b296677a6d04bb7b632d0c6769a98d95 | |
parent | 25239e12d9059d75c0ac12c26691a00321aad0cc (diff) | |
download | u-boot-imx-03afad2fc90dcff42402b0183f4b4f5119f99a18.zip u-boot-imx-03afad2fc90dcff42402b0183f4b4f5119f99a18.tar.gz u-boot-imx-03afad2fc90dcff42402b0183f4b4f5119f99a18.tar.bz2 |
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>
-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 e563c19..52a4134 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", |