On 02/06/14 10:24, Dan Carpenter wrote:
> No need to check "lock" twice here.
> 
> Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com>

Acked-by: Hans Verkuil <hans.verk...@cisco.com>

Regards,

        Hans

> 
> 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;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to