Skip to contentSkip to conversation

linux-next: build warning after merge of the spi tree

DISCUSSION Stephen Rothwell 1 participant 1 message Jan 10, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Mark,

After merging the spi tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

drivers/spi/spi-davinci.c: In function 'davinci_spi_setup':
drivers/spi/spi-davinci.c:426:21: warning: unused variable 'master' [-Wunused-variable]

  struct spi_master *master = spi->master;
                     ^~~~~~

Introduced by commit

101a68e74fe0 ("spi: davinci: Convert to use CS GPIO descriptors")

Signature · 2 lines
Cheers,
Stephen Rothwell