diff options
Diffstat (limited to 'drivers/media/dvb/frontends/stv0297.c')
-rw-r--r-- | drivers/media/dvb/frontends/stv0297.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stv0297.c b/drivers/media/dvb/frontends/stv0297.c index 85c157a1fe5e..d40f226160ef 100644 --- a/drivers/media/dvb/frontends/stv0297.c +++ b/drivers/media/dvb/frontends/stv0297.c | |||
@@ -414,7 +414,6 @@ static int stv0297_set_frontend(struct dvb_frontend *fe) | |||
414 | int delay; | 414 | int delay; |
415 | int sweeprate; | 415 | int sweeprate; |
416 | int carrieroffset; | 416 | int carrieroffset; |
417 | unsigned long starttime; | ||
418 | unsigned long timeout; | 417 | unsigned long timeout; |
419 | fe_spectral_inversion_t inversion; | 418 | fe_spectral_inversion_t inversion; |
420 | 419 | ||
@@ -543,7 +542,6 @@ static int stv0297_set_frontend(struct dvb_frontend *fe) | |||
543 | stv0297_writereg_mask(state, 0x43, 0x10, 0x10); | 542 | stv0297_writereg_mask(state, 0x43, 0x10, 0x10); |
544 | 543 | ||
545 | /* wait for WGAGC lock */ | 544 | /* wait for WGAGC lock */ |
546 | starttime = jiffies; | ||
547 | timeout = jiffies + msecs_to_jiffies(2000); | 545 | timeout = jiffies + msecs_to_jiffies(2000); |
548 | while (time_before(jiffies, timeout)) { | 546 | while (time_before(jiffies, timeout)) { |
549 | msleep(10); | 547 | msleep(10); |