mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 20:40:54 +07: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! */
|
||||
fpxin = state->config->xin * 10;
|
||||
fptmp = fpxin; do_div(fptmp, 123);
|
||||
if (symbolrate < fptmp);
|
||||
if (symbolrate < fptmp)
|
||||
SFIL = 1;
|
||||
fptmp = fpxin; do_div(fptmp, 160);
|
||||
if (symbolrate < fptmp);
|
||||
if (symbolrate < fptmp)
|
||||
SFIL = 0;
|
||||
fptmp = fpxin; do_div(fptmp, 246);
|
||||
if (symbolrate < fptmp);
|
||||
if (symbolrate < fptmp)
|
||||
SFIL = 1;
|
||||
fptmp = fpxin; do_div(fptmp, 320);
|
||||
if (symbolrate < fptmp);
|
||||
if (symbolrate < fptmp)
|
||||
SFIL = 0;
|
||||
fptmp = fpxin; do_div(fptmp, 492);
|
||||
if (symbolrate < fptmp);
|
||||
if (symbolrate < fptmp)
|
||||
SFIL = 1;
|
||||
fptmp = fpxin; do_div(fptmp, 640);
|
||||
if (symbolrate < fptmp);
|
||||
if (symbolrate < fptmp)
|
||||
SFIL = 0;
|
||||
fptmp = fpxin; do_div(fptmp, 984);
|
||||
if (symbolrate < fptmp);
|
||||
if (symbolrate < fptmp)
|
||||
SFIL = 1;
|
||||
|
||||
fin = state->config->xin >> 4;
|
||||
|
Loading…
Reference in New Issue
Block a user