summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-lib.c
diff options
context:
space:
mode:
authorNicholas Mc Guire2014-12-23 18:41:33 +0100
committerMark Brown2014-12-24 12:57:53 +0100
commit1004b9f146940d280a0f62ca33d241469022bce7 (patch)
tree15fcb1b35ad85f0c466c2e8d7faaa7dede079f1a /drivers/spi/spi-fsl-lib.c
parentLinux 3.19-rc1 (diff)
downloadkernel-qcow2-linux-1004b9f146940d280a0f62ca33d241469022bce7.tar.gz
kernel-qcow2-linux-1004b9f146940d280a0f62ca33d241469022bce7.tar.xz
kernel-qcow2-linux-1004b9f146940d280a0f62ca33d241469022bce7.zip
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>
Diffstat (limited to 'drivers/spi/spi-fsl-lib.c')
-rw-r--r--drivers/spi/spi-fsl-lib.c2
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,
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;