spi: axi-spi-engine: remove completed_id from driver state
authorDavid Lechner <dlechner@baylibre.com>
Fri, 17 Nov 2023 20:13:02 +0000 (14:13 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 20 Nov 2023 13:29:12 +0000 (13:29 +0000)
commit4a074ddeb90f5e81738b401643651b2dea257f57
tree56dc67dea001c03f7123744b9bc6dad042593aea
parent0c74de5c6853b0e83413ad237867a37ba30ef3f9
spi: axi-spi-engine: remove completed_id from driver state

In the AXI SPI Engine driver, the completed_id field in the driver
state is only used in one function and the value does not need to
persist between function calls. Therefore, it can be removed from the
driver state and made a local variable in the function where it is used.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231117-axi-spi-engine-series-1-v1-11-cc59db999b87@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-axi-spi-engine.c