aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index eb3587a30df2..3d8f662e4fe9 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -931,8 +931,6 @@ int spi_register_master(struct spi_master *master)
931 spi_match_master_to_boardinfo(master, &bi->board_info); 931 spi_match_master_to_boardinfo(master, &bi->board_info);
932 mutex_unlock(&board_lock); 932 mutex_unlock(&board_lock);
933 933
934 status = 0;
935
936 /* Register devices from the device tree */ 934 /* Register devices from the device tree */
937 of_register_spi_devices(master); 935 of_register_spi_devices(master);
938done: 936done: