]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] stv090x: Remove an unreachable code
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Dec 2014 16:21:42 +0000 (14:21 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Dec 2014 17:28:41 +0000 (15:28 -0200)
commitb769ef69d0b07af98979431a562709c768363d34
tree66ac7eba16d516af44dc7de303b6a2467fa04ce7
parent09e59098bb9eb9276b9578c5de9e70c9cb789fa5
[media] stv090x: Remove an unreachable code

if STV090x_RANGEOK is not returned, then STV090x_OUTOFRANGE
is returned. However, that part of the code is never reached,
as pointed by smatch:

drivers/media/dvb-frontends/stv090x.c:2673 stv090x_get_sig_params() info: ignoring unreachable code.

So, remove the two uneeded elses, with makes the code a little bit
cleaner.

No functional changes, and one less smatch warning.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/stv090x.c