From: "Németh Márton" <nm127@freemail.hu>
To: Olivier Grenie <Olivier.Grenie@dibcom.fr>,
Patrick Boettcher <pboettcher@dibcom.fr>,
V4L Mailing List <linux-media@vger.kernel.org>
Subject: [PATCH] dib8000: merge two conditionals
Date: Sun, 22 Nov 2009 22:52:37 +0100 [thread overview]
Message-ID: <4B09B2A5.6070302@freemail.hu> (raw)
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,
reply other threads:[~2009-11-22 21:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B09B2A5.6070302@freemail.hu \
--to=nm127@freemail.hu \
--cc=Olivier.Grenie@dibcom.fr \
--cc=linux-media@vger.kernel.org \
--cc=pboettcher@dibcom.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox