diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-02-25 21:26:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-02-28 13:20:15 -0500 |
commit | c6aa852ae0c265da2f7dd84f5d864d55415e37c9 (patch) | |
tree | 1fc4725496cbe0595f6c26af1db1ac9cd7b84a72 /drivers/media/dvb-frontends/stv0900_sw.c | |
parent | 8272d0a0c0d374a01721e579df6e8add5577132b (diff) |
[media] stv0900: remove an unneeded check
No need to check lock twice here.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/stv0900_sw.c')
-rw-r--r-- | drivers/media/dvb-frontends/stv0900_sw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/stv0900_sw.c b/drivers/media/dvb-frontends/stv0900_sw.c index 0a40edfad739..4ce1d260b3eb 100644 --- a/drivers/media/dvb-frontends/stv0900_sw.c +++ b/drivers/media/dvb-frontends/stv0900_sw.c | |||
@@ -1081,7 +1081,7 @@ static int stv0900_wait_for_lock(struct stv0900_internal *intp, | |||
1081 | lock = stv0900_get_demod_lock(intp, demod, dmd_timeout); | 1081 | lock = stv0900_get_demod_lock(intp, demod, dmd_timeout); |
1082 | 1082 | ||
1083 | if (lock) | 1083 | if (lock) |
1084 | lock = lock && stv0900_get_fec_lock(intp, demod, fec_timeout); | 1084 | lock = stv0900_get_fec_lock(intp, demod, fec_timeout); |
1085 | 1085 | ||
1086 | if (lock) { | 1086 | if (lock) { |
1087 | lock = 0; | 1087 | lock = 0; |