spi: spi-fsl-dspi: Remove unused initialization of 'ret' in dspi_probe
authorVladimir Oltean <olteanv@gmail.com>
Sun, 18 Aug 2019 18:01:08 +0000 (21:01 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 20 Aug 2019 13:05:36 +0000 (14:05 +0100)
commit9b536d3647ee1348860657c239d247364e4374ec
tree2d097549c1c947a054a9db91aab0e60b62fee27d
parentabbd0ef1f2542621e0f94a7273b7f7e458a38497
spi: spi-fsl-dspi: Remove unused initialization of 'ret' in dspi_probe

There is no code path for reaching 'return ret;' without it first being
assigned to an error code. Therefore the initialization with 0 is
pointless.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20190818180115.31114-8-olteanv@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c