projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7ee60
)
[media] fc0013: remove unneeded test
author
Laurent Navet
<laurent.navet@gmail.com>
Thu, 2 Apr 2015 20:33:28 +0000
(17:33 -0300)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Thu, 14 May 2015 21:06:40 +0000
(18:06 -0300)
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>
drivers/media/tuners/fc0013.c
patch
|
blob
|
history
diff --git
a/drivers/media/tuners/fc0013.c
b/drivers/media/tuners/fc0013.c
index b4162315773d90d314e7476aeccfe2d3a396c140..522690d97b42ff0fe65852f2aa436ce96f95cde2 100644
(file)
--- 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;
}