OSDN Git Service

[media] drxk: better handle errors
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 10:58:52 +0000 (07:58 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 10:58:52 +0000 (07:58 -0300)
commit2f60f13c14b45b311843d2ca09b5e3ef94c16f71
tree6c3f8dd97410799dbcad7ec927796bc8b92f22a1
parent84cb7be43cec12868e94163c99fdc34c0297c3b8
[media] drxk: better handle errors

As reported by smatch:
drivers/media/dvb-frontends/drxk_hard.c:3277 dvbt_sc_command() warn: missing break? reassigning 'status'

This is basically because the error handling logic there was crappy.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/drxk_hard.c