spi: kill useless initializer in spi_register_controller()
The 'status' local variable is initialized but this value is never used, thus kill that initializer. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
67dca5e580
commit
b93318a22f
|
@ -2267,7 +2267,7 @@ int spi_register_controller(struct spi_controller *ctlr)
|
|||
{
|
||||
struct device *dev = ctlr->dev.parent;
|
||||
struct boardinfo *bi;
|
||||
int status = -ENODEV;
|
||||
int status;
|
||||
int id, first_dynamic;
|
||||
|
||||
if (!dev)
|
||||
|
|
Loading…
Reference in New Issue