aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dib8000.c
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2009-11-22 18:52:37 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-16 00:18:20 -0200
commit6e8fdbd023ef6a05da444baacfea75fdf97bdc50 (patch)
treeb231d9682b97aac76d798c2d17fea47ee74a2214 /drivers/media/dvb/frontends/dib8000.c
parent89dfc557d1b85bbaf04ca4c9927c6ea22df72e04 (diff)
downloadkernel_samsung_smdk4412-6e8fdbd023ef6a05da444baacfea75fdf97bdc50.zip
kernel_samsung_smdk4412-6e8fdbd023ef6a05da444baacfea75fdf97bdc50.tar.gz
kernel_samsung_smdk4412-6e8fdbd023ef6a05da444baacfea75fdf97bdc50.tar.bz2
V4L/DVB (13589): dib8000: merge two conditionals
Merge two ifs: the condition is the same. The second if uses the ncoeff which is initialized in the first if. Cc: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/dib8000.c')
-rw-r--r--drivers/media/dvb/frontends/dib8000.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/dib8000.c b/drivers/media/dvb/frontends/dib8000.c
index bb2ec15..335c6c0 100644
--- a/drivers/media/dvb/frontends/dib8000.c
+++ b/drivers/media/dvb/frontends/dib8000.c
@@ -1423,10 +1423,9 @@ static void dib8000_set_channel(struct dib8000_state *state, u8 seq, u8 autosear
}
break;
}
- }
- if (state->fe.dtv_property_cache.isdbt_sb_mode == 1)
for (i = 0; i < 8; i++)
dib8000_write_word(state, 343 + i, ncoeff[i]);
+ }
// P_small_coef_ext_enable=ISDB-Tsb, P_small_narrow_band=ISDB-Tsb, P_small_last_seg=13, P_small_offset_num_car=5
dib8000_write_word(state, 351,