mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
[media] fc0013: remove unneeded test
The same code is executed if ret is true or false, so this test can be removed. Fix Coverity CID 1268782. Signed-off-by: Laurent Navet <laurent.navet@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
da7ee60b03
commit
24d795d361
1 changed files with 0 additions and 2 deletions
|
@ -217,8 +217,6 @@ static int fc0013_set_vhf_track(struct fc0013_priv *priv, u32 freq)
|
||||||
} else { /* UHF and GPS */
|
} else { /* UHF and GPS */
|
||||||
ret = fc0013_writereg(priv, 0x1d, tmp | 0x1c);
|
ret = fc0013_writereg(priv, 0x1d, tmp | 0x1c);
|
||||||
}
|
}
|
||||||
if (ret)
|
|
||||||
goto error_out;
|
|
||||||
error_out:
|
error_out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue