From: Michael Ira Krufky Date: Sun, 3 Aug 2014 17:51:49 +0000 (-0300) Subject: [media] lgdt3306a: remove unnecessary 'else' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c714efe458e72a84cf898074269d40a575034464;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] lgdt3306a: remove unnecessary 'else' No need for an else, as the previous if will return. Signed-off-by: Michael Ira Krufky Signed-off-by: Mauro Carvalho Chehab --- 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) {