diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2008-03-01 11:54:28 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:23 -0500 |
commit | 54fb122d126c89c2a38c86205f7096defc04ccb0 (patch) | |
tree | 76f773f83625e8c4abb39d023e49f0808751453d /drivers/media/dvb/frontends/stb0899_drv.c | |
parent | e94a4470b1c32f935f63c64027434932e3f0c90e (diff) |
V4L/DVB (9460): Code Simplification
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stb0899_drv.c')
-rw-r--r-- | drivers/media/dvb/frontends/stb0899_drv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c index 60a5c9a2f69a..deeec34fc47a 100644 --- a/drivers/media/dvb/frontends/stb0899_drv.c +++ b/drivers/media/dvb/frontends/stb0899_drv.c | |||
@@ -1537,20 +1537,18 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa | |||
1537 | 1537 | ||
1538 | u32 SearchRange, gain; | 1538 | u32 SearchRange, gain; |
1539 | 1539 | ||
1540 | i_params->freq = params->frequency; | ||
1540 | switch (state->delsys) { | 1541 | switch (state->delsys) { |
1541 | case DVBFE_DELSYS_DVBS: | 1542 | case DVBFE_DELSYS_DVBS: |
1542 | dprintk(verbose, FE_ERROR, 1, "set DVB-S params"); | 1543 | dprintk(verbose, FE_ERROR, 1, "set DVB-S params"); |
1543 | i_params->freq = params->frequency; | ||
1544 | i_params->srate = params->delsys.dvbs.symbol_rate; | 1544 | i_params->srate = params->delsys.dvbs.symbol_rate; |
1545 | break; | 1545 | break; |
1546 | case DVBFE_DELSYS_DSS: | 1546 | case DVBFE_DELSYS_DSS: |
1547 | dprintk(verbose, FE_ERROR, 1, "set DSS params"); | 1547 | dprintk(verbose, FE_ERROR, 1, "set DSS params"); |
1548 | i_params->freq = params->frequency; | ||
1549 | i_params->srate = params->delsys.dss.symbol_rate; | 1548 | i_params->srate = params->delsys.dss.symbol_rate; |
1550 | break; | 1549 | break; |
1551 | case DVBFE_DELSYS_DVBS2: | 1550 | case DVBFE_DELSYS_DVBS2: |
1552 | dprintk(verbose, FE_ERROR, 1, "set DVB-S2 params"); | 1551 | dprintk(verbose, FE_ERROR, 1, "set DVB-S2 params"); |
1553 | i_params->freq = params->frequency; | ||
1554 | i_params->srate = params->delsys.dvbs2.symbol_rate; | 1552 | i_params->srate = params->delsys.dvbs2.symbol_rate; |
1555 | break; | 1553 | break; |
1556 | default: | 1554 | default: |