summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2008-03-01 20:54:28 +0400
committerManu Abraham <manu@linuxtv.org>2008-03-01 20:54:28 +0400
commit239c3c85d294f545c110681a2e8989d92a304e78 (patch)
tree2719479c60f2779b4f2aa45e2f205f1c9c760f59
parent4d93e2e1b7218d6e255a267ede1c13a4c5bf2587 (diff)
downloadmediapointer-dvb-s2-239c3c85d294f545c110681a2e8989d92a304e78.tar.gz
mediapointer-dvb-s2-239c3c85d294f545c110681a2e8989d92a304e78.tar.bz2
Code Simplification
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
-rw-r--r--linux/drivers/media/dvb/frontends/stb0899_drv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_drv.c b/linux/drivers/media/dvb/frontends/stb0899_drv.c
index 5d78b228c..8dc9f4b76 100644
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c
@@ -1578,20 +1578,18 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
u32 SearchRange, gain;
+ i_params->freq = params->frequency;
switch (state->delsys) {
case DVBFE_DELSYS_DVBS:
dprintk(verbose, FE_ERROR, 1, "set DVB-S params");
- i_params->freq = params->frequency;
i_params->srate = params->delsys.dvbs.symbol_rate;
break;
case DVBFE_DELSYS_DSS:
dprintk(verbose, FE_ERROR, 1, "set DSS params");
- i_params->freq = params->frequency;
i_params->srate = params->delsys.dss.symbol_rate;
break;
case DVBFE_DELSYS_DVBS2:
dprintk(verbose, FE_ERROR, 1, "set DVB-S2 params");
- i_params->freq = params->frequency;
i_params->srate = params->delsys.dvbs2.symbol_rate;
break;
default: