spi: spidev: remove unused completion
This removes an unused completion from spidev_sync. It was introduced in commit25d5cb4b03
("spi: remove some spidev oops-on-rmmod paths") and it was no longer used after: commit98d6f47958
("spi: spidev: use spi_sync instead of spi_async") Signed-off-by: Seraphime Kirkovski (Haapie) <kirkseraph@gmail.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2ea659a9ef
commit
76bf569466
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue