提交 76bf5694 编写于 作者: S Seraphime Kirkovski 提交者: 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: NSeraphime Kirkovski (Haapie) <kirkseraph@gmail.com>
Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 2ea659a9
...@@ -99,7 +99,6 @@ MODULE_PARM_DESC(bufsiz, "data bytes in biggest supported SPI message"); ...@@ -99,7 +99,6 @@ MODULE_PARM_DESC(bufsiz, "data bytes in biggest supported SPI message");
static ssize_t static ssize_t
spidev_sync(struct spidev_data *spidev, struct spi_message *message) spidev_sync(struct spidev_data *spidev, struct spi_message *message)
{ {
DECLARE_COMPLETION_ONSTACK(done);
int status; int status;
struct spi_device *spi; struct spi_device *spi;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册