[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>
This commit is contained in:
parent
8272d0a0c0
commit
c6aa852ae0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue