mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 09:41:44 +00:00
[PATCH] DVB: Fixes ifs in ves1820 set symbolrate().
Remove stray semicolons after if (foo); in ves1820_set_symbolrate(). Signed-off-by: Denis Vlasenko <vda@ilport.com.ua> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
1130ca45c7
commit
48063a75af
@ -140,25 +140,25 @@ static int ves1820_set_symbolrate(struct ves1820_state *state, u32 symbolrate)
|
|||||||
/* yeuch! */
|
/* yeuch! */
|
||||||
fpxin = state->config->xin * 10;
|
fpxin = state->config->xin * 10;
|
||||||
fptmp = fpxin; do_div(fptmp, 123);
|
fptmp = fpxin; do_div(fptmp, 123);
|
||||||
if (symbolrate < fptmp);
|
if (symbolrate < fptmp)
|
||||||
SFIL = 1;
|
SFIL = 1;
|
||||||
fptmp = fpxin; do_div(fptmp, 160);
|
fptmp = fpxin; do_div(fptmp, 160);
|
||||||
if (symbolrate < fptmp);
|
if (symbolrate < fptmp)
|
||||||
SFIL = 0;
|
SFIL = 0;
|
||||||
fptmp = fpxin; do_div(fptmp, 246);
|
fptmp = fpxin; do_div(fptmp, 246);
|
||||||
if (symbolrate < fptmp);
|
if (symbolrate < fptmp)
|
||||||
SFIL = 1;
|
SFIL = 1;
|
||||||
fptmp = fpxin; do_div(fptmp, 320);
|
fptmp = fpxin; do_div(fptmp, 320);
|
||||||
if (symbolrate < fptmp);
|
if (symbolrate < fptmp)
|
||||||
SFIL = 0;
|
SFIL = 0;
|
||||||
fptmp = fpxin; do_div(fptmp, 492);
|
fptmp = fpxin; do_div(fptmp, 492);
|
||||||
if (symbolrate < fptmp);
|
if (symbolrate < fptmp)
|
||||||
SFIL = 1;
|
SFIL = 1;
|
||||||
fptmp = fpxin; do_div(fptmp, 640);
|
fptmp = fpxin; do_div(fptmp, 640);
|
||||||
if (symbolrate < fptmp);
|
if (symbolrate < fptmp)
|
||||||
SFIL = 0;
|
SFIL = 0;
|
||||||
fptmp = fpxin; do_div(fptmp, 984);
|
fptmp = fpxin; do_div(fptmp, 984);
|
||||||
if (symbolrate < fptmp);
|
if (symbolrate < fptmp)
|
||||||
SFIL = 1;
|
SFIL = 1;
|
||||||
|
|
||||||
fin = state->config->xin >> 4;
|
fin = state->config->xin >> 4;
|
||||||
|
Loading…
Reference in New Issue
Block a user