mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
[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>
This commit is contained in:
parent
8e8cd34eaa
commit
c714efe458
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user