1
0
Fork 0

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>
hifive-unleashed-5.1
Guennadi Liakhovetski 2012-03-14 18:37:15 +01:00 committed by Grant Likely
parent 9af4acc096
commit a66590de86
1 changed files with 0 additions and 2 deletions

View File

@ -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: