diff options
author | Michael Ira Krufky <mkrufky@linuxtv.org> | 2014-08-03 21:51:49 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-03 16:34:09 +0300 |
commit | c714efe458e72a84cf898074269d40a575034464 (patch) | |
tree | 963793a3b2f09e15c046be85afc319d68e6f445f /drivers/media/dvb-frontends/lgdt3306a.c | |
parent | 8e8cd34eaaf96c4bfc472ec0b4d6f7d3951c051f (diff) | |
download | linux-c714efe458e72a84cf898074269d40a575034464.tar.xz |
[media] lgdt3306a: remove unnecessary 'else'
No need for an else, as the previous if will return.
Signed-off-by: Michael Ira Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/lgdt3306a.c')
-rw-r--r-- | drivers/media/dvb-frontends/lgdt3306a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c index 3664da53996b..b0d94d734d72 100644 --- a/drivers/media/dvb-frontends/lgdt3306a.c +++ b/drivers/media/dvb-frontends/lgdt3306a.c @@ -1088,7 +1088,7 @@ static LG3306_MODULATION lgdt3306a_check_oper_mode(struct lgdt3306a_state *state lg_dbg("VSB\n"); return LG3306_VSB; } - else if (val & 0x08) { + if (val & 0x08) { ret = lgdt3306a_read_reg(state, 0x00A6, &val); val = val >> 2; if (val & 0x01) { |