diff mbox

spi: spidev: remove unused completion

Message ID 20170505123049.7500-1-kirkseraph@gmail.com (mailing list archive)
State Accepted
Commit 76bf569466c68fb3705a3b38cdee026df9861101
Headers show

Commit Message

Seraphime Kirkovski May 5, 2017, 12:30 p.m. UTC
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>
---
 drivers/spi/spidev.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Geert Uytterhoeven May 5, 2017, 1:08 p.m. UTC | #1
On Fri, May 5, 2017 at 2:30 PM, Seraphime Kirkovski
<kirkseraph@gmail.com> wrote:
> 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>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 9e2e099baf8c..b2abf89e61db 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;