]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: xilinx_spi: Remove unused variable
authorMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 08:36:47 +0000 (10:36 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:01:36 +0000 (08:01 +0100)
commite1303b2bc14fb633dee9716af8a93657e4565eb7
treea90d97185e675044b2fdb92be72e4e90ec960e23
parentb9ac6c0820e6b5d953b847bfa0a217273a1ec7f2
spi: xilinx_spi: Remove unused variable

Remove unused variable:
drivers/spi/xilinx_spi.c: In function 'xilinx_spi_xfer':
drivers/spi/xilinx_spi.c:254:18: warning: unused variable 'timeout' [-Wunused-variable]
  254 |  u32 reg, count, timeout;
      |                  ^~~~~~~

Fixes: 0c0de58f7b30 ("spi: xilinx_spi: Modify transfer logic xilinx_spi_xfer() function")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/spi/xilinx_spi.c