Commit 48063a75 authored by Denis Vlasenko's avatar Denis Vlasenko Committed by Linus Torvalds

[PATCH] DVB: Fixes ifs in ves1820 set symbolrate().

Remove stray semicolons after if (foo); in ves1820_set_symbolrate().
Signed-off-by: default avatarDenis Vlasenko <vda@ilport.com.ua>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1130ca45
...@@ -140,25 +140,25 @@ static int ves1820_set_symbolrate(struct ves1820_state *state, u32 symbolrate) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment