mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 22:56:49 +08:00
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>
This commit is contained in:
parent
25239e12d9
commit
03afad2fc9
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user