OSDN Git Service

[media] si2157: simplify si2157_cmd_execute() error path
authorAntti Palosaari <crope@iki.fi>
Sat, 6 Dec 2014 17:04:05 +0000 (14:04 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 29 Jan 2015 20:47:45 +0000 (18:47 -0200)
commit7cbf5d7651ca7ab91b57d194f388d8886dbe4c38
tree5e250953d699bef0ac7b5f0c20e74d08ae85b778
parent70f13ff091a92a29d8463661a494fafaaff65395
[media] si2157: simplify si2157_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/tuners/si2157.c