* [PATCH] dib8000: merge two conditionals
@ 2009-11-22 21:52 Németh Márton
0 siblings, 0 replies; only message in thread
From: Németh Márton @ 2009-11-22 21:52 UTC (permalink / raw)
To: Olivier Grenie, Patrick Boettcher, V4L Mailing List
From: Márton Németh <nm127@freemail.hu>
Merge two ifs: the condition is the same. The second if
uses the ncoeff which is initialized in the first if.
Signed-off-by: Márton Németh <nm127@freemail.hu>
---
diff -r bc16afd1e7a4 linux/drivers/media/dvb/frontends/dib8000.c
--- a/linux/drivers/media/dvb/frontends/dib8000.c Sat Nov 21 12:01:36 2009 +0100
+++ b/linux/drivers/media/dvb/frontends/dib8000.c Sun Nov 22 22:40:31 2009 +0100
@@ -1402,10 +1402,9 @@
}
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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-22 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-22 21:52 [PATCH] dib8000: merge two conditionals Németh Márton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox