]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mantis: remove an uneeded goto
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 13:30:24 +0000 (10:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 13:35:11 +0000 (10:35 -0300)
commitdc78c8146853dfd409154e23b12d6f91e606b258
tree1c546bc14a106fc9c47a49ae888681407debeb69
parentcc8fa297599d7b7031880d51f1c30a37c1f7cf0e
[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>
drivers/media/pci/mantis/mantis_dma.c