mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] spi: unnecessary double init_completion removed
@ 2014-12-23 17:41 Nicholas Mc Guire
  2014-12-24 11:58 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Nicholas Mc Guire @ 2014-12-23 17:41 UTC (permalink / raw)
  To: Mark Brown
  Cc: Grant Likely, Rob Herring, linux-spi, linux-kernel, Nicholas Mc Guire

The double call to init_completion(&mpc8xxx_spi->done); is not needed
presumably this is a editing mistake only.


Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
---
 drivers/spi/spi-fsl-lib.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/spi/spi-fsl-lib.c b/drivers/spi/spi-fsl-lib.c
index 446b737..9d3f9e0 100644
--- a/drivers/spi/spi-fsl-lib.c
+++ b/drivers/spi/spi-fsl-lib.c
@@ -102,8 +102,6 @@ void mpc8xxx_spi_probe(struct device *dev, struct resource *mem,
 	mpc8xxx_spi->rx_shift = 0;
 	mpc8xxx_spi->tx_shift = 0;

-	init_completion(&mpc8xxx_spi->done);
-
 	master->bus_num = pdata->bus_num;
 	master->num_chipselect = pdata->max_chipselect;

--
1.7.10.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] spi: unnecessary double init_completion removed
  2014-12-23 17:41 [PATCH] spi: unnecessary double init_completion removed Nicholas Mc Guire
@ 2014-12-24 11:58 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-12-24 11:58 UTC (permalink / raw)
  To: Nicholas Mc Guire; +Cc: Grant Likely, Rob Herring, linux-spi, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

On Tue, Dec 23, 2014 at 06:41:33PM +0100, Nicholas Mc Guire wrote:
> The double call to init_completion(&mpc8xxx_spi->done); is not needed
> presumably this is a editing mistake only.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-24 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-23 17:41 [PATCH] spi: unnecessary double init_completion removed Nicholas Mc Guire
2014-12-24 11:58 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®