[media] lgdt3306a: remove unnecessary 'else'
authorMichael Ira Krufky <mkrufky@linuxtv.org>
Sun, 3 Aug 2014 17:51:49 +0000 (14:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 3 Mar 2015 13:34:09 +0000 (10:34 -0300)
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>
drivers/media/dvb-frontends/lgdt3306a.c

index 3664da5..b0d94d7 100644 (file)
@@ -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) {