]> 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)
commitdac2811817e3f4a9a4aa1d0aa2d0c6cd48206539
treec2210b61cc760d82e1395ff8987f9ec4005de32c
parent4dc86d7c4a5b13a6f3aa0a88ade73e8d1d04756a
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