Skip to content

Commit

Permalink
spi/fsl: unnecessary double init_completion removed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicholas Mc Guire authored and Mark Brown committed Dec 24, 2014
1 parent 97bf6af commit 1004b9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/spi/spi-fsl-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1004b9f

Please sign in to comment.