Commit a66590de authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Grant Likely

spi: remove redundant variable assignment

The status variable is guaranteed to be 0 at that location anyway.
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 9af4acc0
...@@ -931,8 +931,6 @@ int spi_register_master(struct spi_master *master) ...@@ -931,8 +931,6 @@ int spi_register_master(struct spi_master *master)
spi_match_master_to_boardinfo(master, &bi->board_info); spi_match_master_to_boardinfo(master, &bi->board_info);
mutex_unlock(&board_lock); mutex_unlock(&board_lock);
status = 0;
/* Register devices from the device tree */ /* Register devices from the device tree */
of_register_spi_devices(master); of_register_spi_devices(master);
done: done:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment