瀏覽代碼

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>
Nicholas Mc Guire 10 年之前
父節點
當前提交
1004b9f146
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/spi/spi-fsl-lib.c

+ 0 - 2
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;