diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-10 17:40:08 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-11 16:57:29 +0000 |
commit | b3aa619a8b4706f35cb62f780c14e68796b37f3f (patch) | |
tree | 22eafc82941c20e80cd5a947eb40b3f0f8cb06c7 /drivers/spi/spi-omap2-mcspi.c | |
parent | de4af897ddf242aea18ee90d3ad2e21b4e64359c (diff) | |
download | lwn-b3aa619a8b4706f35cb62f780c14e68796b37f3f.tar.gz lwn-b3aa619a8b4706f35cb62f780c14e68796b37f3f.zip |
spi: ppc4xx: Drop write-only variable
Since commit 24778be20f87 ("spi: convert drivers to use
bits_per_word_mask") the bits_per_word variable is only written to. The
check that was there before isn't needed any more as the spi core
ensures that only 8 bit transfers are used, so the variable can go away
together with all assignments to it.
Fixes: 24778be20f87 ("spi: convert drivers to use bits_per_word_mask")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240210164006.208149-8-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
0 files changed, 0 insertions, 0 deletions