[media] dvb_frontend: fix compile warning
Andreas Oberritter <obi@linuxtv.org> has looked at this and agreed that it is safe to remove the 'timeout' variable. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
1d3726ae84
commit
94238e9b19
@@ -537,7 +537,6 @@ static int dvb_frontend_thread(void *data)
|
|||||||
{
|
{
|
||||||
struct dvb_frontend *fe = data;
|
struct dvb_frontend *fe = data;
|
||||||
struct dvb_frontend_private *fepriv = fe->frontend_priv;
|
struct dvb_frontend_private *fepriv = fe->frontend_priv;
|
||||||
unsigned long timeout;
|
|
||||||
fe_status_t s;
|
fe_status_t s;
|
||||||
enum dvbfe_algo algo;
|
enum dvbfe_algo algo;
|
||||||
|
|
||||||
@@ -558,7 +557,7 @@ static int dvb_frontend_thread(void *data)
|
|||||||
while (1) {
|
while (1) {
|
||||||
up(&fepriv->sem); /* is locked when we enter the thread... */
|
up(&fepriv->sem); /* is locked when we enter the thread... */
|
||||||
restart:
|
restart:
|
||||||
timeout = wait_event_interruptible_timeout(fepriv->wait_queue,
|
wait_event_interruptible_timeout(fepriv->wait_queue,
|
||||||
dvb_frontend_should_wakeup(fe) || kthread_should_stop()
|
dvb_frontend_should_wakeup(fe) || kthread_should_stop()
|
||||||
|| freezing(current),
|
|| freezing(current),
|
||||||
fepriv->delay);
|
fepriv->delay);
|
||||||
|
Reference in New Issue
Block a user