diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-02-25 23:26:41 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-02-28 15:20:15 -0300 |
commit | c6aa852ae0c265da2f7dd84f5d864d55415e37c9 (patch) | |
tree | 1fc4725496cbe0595f6c26af1db1ac9cd7b84a72 /drivers/media/dvb-frontends/stv0900_sw.c | |
parent | 8272d0a0c0d374a01721e579df6e8add5577132b (diff) | |
download | linux-c6aa852ae0c265da2f7dd84f5d864d55415e37c9.tar.bz2 |
[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, lock = stv0900_get_demod_lock(intp, demod, dmd_timeout); if (lock) - lock = lock && stv0900_get_fec_lock(intp, demod, fec_timeout); + lock = stv0900_get_fec_lock(intp, demod, fec_timeout); if (lock) { lock = 0; |