diff options
author | Nicholas Mc Guire <der.herr@hofr.at> | 2014-12-23 12:41:33 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-24 06:57:53 -0500 |
commit | 1004b9f146940d280a0f62ca33d241469022bce7 (patch) | |
tree | 15fcb1b35ad85f0c466c2e8d7faaa7dede079f1a | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) |
spi/fsl: unnecessary double init_completion removed
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-fsl-lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-fsl-lib.c b/drivers/spi/spi-fsl-lib.c index 446b737e1532..9d3f9e097861 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, | |||
102 | mpc8xxx_spi->rx_shift = 0; | 102 | mpc8xxx_spi->rx_shift = 0; |
103 | mpc8xxx_spi->tx_shift = 0; | 103 | mpc8xxx_spi->tx_shift = 0; |
104 | 104 | ||
105 | init_completion(&mpc8xxx_spi->done); | ||
106 | |||
107 | master->bus_num = pdata->bus_num; | 105 | master->bus_num = pdata->bus_num; |
108 | master->num_chipselect = pdata->max_chipselect; | 106 | master->num_chipselect = pdata->max_chipselect; |
109 | 107 | ||