Commit 76bf5694 authored by Seraphime Kirkovski's avatar Seraphime Kirkovski Committed by Mark Brown

spi: spidev: remove unused completion

This removes an unused completion from spidev_sync.

It was introduced in

	commit 25d5cb4b ("spi: remove some spidev oops-on-rmmod paths")

and it was no longer used after:

	commit 98d6f479 ("spi: spidev: use spi_sync instead of spi_async")
Signed-off-by: default avatarSeraphime Kirkovski (Haapie) <kirkseraph@gmail.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2ea659a9
......@@ -99,7 +99,6 @@ MODULE_PARM_DESC(bufsiz, "data bytes in biggest supported SPI message");
static ssize_t
spidev_sync(struct spidev_data *spidev, struct spi_message *message)
{
DECLARE_COMPLETION_ONSTACK(done);
int status;
struct spi_device *spi;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment