Skip to content

Commit 24d795d

Browse files
malimchehab
authored andcommitted
[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>
1 parent da7ee60 commit 24d795d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/media/tuners/fc0013.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@ static int fc0013_set_vhf_track(struct fc0013_priv *priv, u32 freq)
217217
} else { /* UHF and GPS */
218218
ret = fc0013_writereg(priv, 0x1d, tmp | 0x1c);
219219
}
220-
if (ret)
221-
goto error_out;
222220
error_out:
223221
return ret;
224222
}

0 commit comments

Comments
 (0)