Hello Hans,

On 25.08.2011 15:29, Hans Verkuil wrote:
> This is the warning the daily build gives:
> 
> v4l-dvb-git/drivers/media/dvb/dvb-core/dvb_frontend.c: In function 
> 'dvb_frontend_thread':
> v4l-dvb-git/drivers/media/dvb/dvb-core/dvb_frontend.c:540:16: warning: 
> variable 'timeout' set but not used [-Wunused-but-set-variable]
> 
> The 'timeout' variable is indeed not used, but should it? I'm not familiar 
> enough
> with this code to decide.

you can safely remove this variable. The code always behaves the same
way, be it woken up by a timeout or on demand (unless freezing or
stopping the thread).

Regards,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to