diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-03-14 18:37:15 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-03-15 03:30:33 -0600 |
commit | a66590de86483eeefc3074ab1ba1a7f45a89308e (patch) | |
tree | 151530ed05b96b955ae138e150ed58a33acc47b3 /drivers/spi/spi.c | |
parent | 9af4acc096eeb1ddd6f507d291c7c901949224a6 (diff) | |
download | blackbird-op-linux-a66590de86483eeefc3074ab1ba1a7f45a89308e.tar.gz blackbird-op-linux-a66590de86483eeefc3074ab1ba1a7f45a89308e.zip |
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>
Diffstat (limited to 'drivers/spi/spi.c')
-rw-r--r-- | drivers/spi/spi.c | 2 |
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) 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: |