[media] mantis: remove an uneeded goto

Gotos makes a little harder to check the code. In this
particular case, the goto is doing nothing but jumping into
a return.

Instead, just replace the goto by the return, making it
simpler.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Mauro Carvalho Chehab 2015-08-11 10:30:24 -03:00
parent 919db5c319
commit b0c49e2acc
1 changed files with 1 additions and 3 deletions

View File

@ -140,12 +140,10 @@ int mantis_dma_init(struct mantis_pci *mantis)
/* Stop RISC Engine */
mmwrite(0, MANTIS_DMA_CTL);
goto err;
return err;
}
return 0;
err:
return err;
}
EXPORT_SYMBOL_GPL(mantis_dma_init);