From: Seraphime Kirkovski Date: Fri, 5 May 2017 12:30:49 +0000 (+0200) Subject: spi: spidev: remove unused completion X-Git-Tag: v4.14-rc1~614^2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76bf569466c68fb3705a3b38cdee026df9861101;p=platform%2Fkernel%2Flinux-rpi.git 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) Reviewed-by: Geert Uytterhoeven Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 9a2a79a8..3b57001 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;