spi: remove redundant variable assignment
The status variable is guaranteed to be 0 at that location anyway. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
9af4acc096
commit
a66590de86
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue