From: Laurent Navet Date: Thu, 2 Apr 2015 20:33:28 +0000 (-0300) Subject: [media] fc0013: remove unneeded test X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=24d795d361b2cd5cb6a6915ad4df61db7a2a9bef;p=linux-beck.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/tuners/fc0013.c b/drivers/media/tuners/fc0013.c index b4162315773d..522690d97b42 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; }