aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ira Krufky <mkrufky@linuxtv.org>2014-08-03 14:51:49 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 10:35:20 -0200
commitd765722bfcc64520d7c4e9d651f2b1baf35446e3 (patch)
tree17f14d4c2beee0e9ba60e22fa455ee9c63832bd9
parent341349ea39a948e1bfca6894f31459b900a91ec5 (diff)
[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>
-rw-r--r--drivers/media/dvb-frontends/lgdt3306a.c2
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) {

Privacy Policy