]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-fsl-dspi: Remove unused chip->void_write_data
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 4 Mar 2020 22:00:34 +0000 (00:00 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2020 14:06:15 +0000 (14:06 +0000)
commit17729884f5ad2878a743bd5bee629f7cdcac530f
treec2210b61cc760d82e1395ff8987f9ec4005de32c
parentae90bc286aeeef448918384c55bc767fe772b010
spi: spi-fsl-dspi: Remove unused chip->void_write_data

This variable has been present since the initial submission of the
driver, and held, for some reason, the value of zero, to be sent on the
wire in the case there wasn't any TX buffer for the current transfer.

Since quite a while now, however, it isn't doing anything at all.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20200304220044.11193-3-olteanv@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c