]> 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)
commit83d5e530b82f0bdf258e6aa4a213cf0a2958a099
tree1c546bc14a106fc9c47a49ae888681407debeb69
parente3317fb2c50073c2f570a2938afec39862a60ce0
[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