diff options
author | Laurent Navet <laurent.navet@gmail.com> | 2015-04-02 20:33:28 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-14 21:06:40 (GMT) |
commit | 24d795d361b2cd5cb6a6915ad4df61db7a2a9bef (patch) | |
tree | 6c7b3d5be641d6b5ae48b89c67bd974cdbe30466 /drivers/media/tuners | |
parent | da7ee60b03bd66bb10974d7444aa444de6391312 (diff) | |
download | linux-24d795d361b2cd5cb6a6915ad4df61db7a2a9bef.tar.xz |
[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>
Diffstat (limited to 'drivers/media/tuners')
-rw-r--r-- | drivers/media/tuners/fc0013.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/tuners/fc0013.c b/drivers/media/tuners/fc0013.c index b416231..522690d 100644 --- a/drivers/media/tuners/fc0013.c +++ b/drivers/media/tuners/fc0013.c @@ -217,8 +217,6 @@ static int fc0013_set_vhf_track(struct fc0013_priv *priv, u32 freq) } else { /* UHF and GPS */ ret = fc0013_writereg(priv, 0x1d, tmp | 0x1c); } - if (ret) - goto error_out; error_out: return ret; } |