[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)
commitb0c49e2acc6e0e1bf5ae80a3afd63bdcfce19883
tree1c546bc14a106fc9c47a49ae888681407debeb69
parent919db5c3199cbd7cf503cdc42f3467a524d1f9ff
[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
This page took 0.026076 seconds and 5 git commands to generate.