summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spidev.c
diff options
context:
space:
mode:
authorSeraphime Kirkovski <kirkseraph@gmail.com>2017-05-05 14:30:49 +0200
committerMark Brown <broonie@kernel.org>2017-05-14 11:37:31 +0200
commit76bf569466c68fb3705a3b38cdee026df9861101 (patch)
tree70fd6864ffc4a63f0cf587cf8449c6e78bfd09be /drivers/spi/spidev.c
parentLinux 4.12-rc1 (diff)
downloadlinux-76bf569466c68fb3705a3b38cdee026df9861101.tar.xz
linux-76bf569466c68fb3705a3b38cdee026df9861101.zip
spi: spidev: remove unused completion
This removes an unused completion from spidev_sync. It was introduced in commit 25d5cb4b0375e ("spi: remove some spidev oops-on-rmmod paths") and it was no longer used after: commit 98d6f47958001 ("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>
Diffstat (limited to 'drivers/spi/spidev.c')
-rw-r--r--drivers/spi/spidev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 9a2a79a871ba..3b570018705c 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -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;