提交 a66590de 编写于 作者: G Guennadi Liakhovetski 提交者: Grant Likely

spi: remove redundant variable assignment

The status variable is guaranteed to be 0 at that location anyway.
Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 9af4acc0
......@@ -931,8 +931,6 @@ int spi_register_master(struct spi_master *master)
spi_match_master_to_boardinfo(master, &bi->board_info);
mutex_unlock(&board_lock);
status = 0;
/* Register devices from the device tree */
of_register_spi_devices(master);
done:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册