Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24d795d3 authored by Laurent Navet's avatar Laurent Navet Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarLaurent Navet <laurent.navet@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent da7ee60b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}