Skip to contentSkip to conversation

spi: spidev: remove unused completion

PATCH In review Seraphime Kirkovski 3 participants 3 messages May 5, 2017 – May 15, 2017 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 drivers/spi/spidev.c | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spidev.c +0 -1
index 9e2e099baf8c..b2abf89e61db 100644
@@ -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;
 
Signature · 6 lines
2.13.0.rc1

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Seraphime Kirkovski

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")

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#2 lore raw

Applied "spi: spidev: remove unused completion" to the spi tree

In reply to Seraphime Kirkovski

The patch

spi: spidev: remove unused completion

has been applied to the spi tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 76bf569466c68fb3705a3b38cdee026df9861101 Mon Sep 17 00:00:00 2001

From: Seraphime Kirkovski <[email protected]>
Date: Fri, 5 May 2017 14:30:49 +0200
Subject: [PATCH] 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")
---
 drivers/spi/spidev.c | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spidev.c +0 -1
index 9a2a79a871ba..3b570018705c 100644
@@ -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;
 
Signature · 1 line
2.11.0