OSDN Git Service

[media] si2168: simplify si2168_cmd_execute() error path
authorAntti Palosaari <crope@iki.fi>
Fri, 5 Dec 2014 17:30:44 +0000 (14:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 29 Jan 2015 20:41:11 +0000 (18:41 -0200)
commit4affbe1d0825dc3c9c5fcec8a4848d8bbdd718cb
treef428591902da5d392758588be91dfc5ab111d630
parent3de3583539390a6e0d5b780f0c16980462991f7c
[media] si2168: simplify si2168_cmd_execute() error path

Remove if () from firmware command error path as there should not be
any error prone conditional logic there. Use goto labels instead.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/si2168.c