]> git.karo-electronics.de Git - mv-sheeva.git/commit
[media] easycap: streamline the code
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 9 Nov 2011 11:26:35 +0000 (08:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 21:12:53 +0000 (19:12 -0200)
commit101dca425da49edb3093000d72490216fa322911
treed2cfbb4d549ca851a208a22dbff3d7f71e6c2c57
parent7dbb3920252dcb3662e934b134ccb5129f62cbad
[media] easycap: streamline the code

change statements of types
if (err)
return err
else
do something

and
if (ok)
do something
else
return err

into

if (err)
return err

do something

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/easycap/easycap_ioctl.c
drivers/staging/media/easycap/easycap_low.c
drivers/staging/media/easycap/easycap_main.c