aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 06:34:44 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 06:37:21 -0400
commitee0f4a144423cdb5744ceca4ed9e91582c39becf (patch)
treee4df9bfd32068e6fe24525fc535c10e8984a17be /virt/kvm
parentd591590e1b5bba2f96b44b1e05f65bc8269f0a68 (diff)
drx-j: use ber_count var
drivers/media/dvb-frontends/drx39xyj/drxj.c: In function 'ctrl_get_qam_sig_quality': drivers/media/dvb-frontends/drx39xyj/drxj.c:9468:6: warning: variable 'ber_cnt' set but not used [-Wunused-but-set-variable] u32 ber_cnt = 0; /* BER count */ ^ By reading the comment, it is said that BER should be calculated as: qam_pre_rs_ber = frac_times1e6( ber_cnt, rs_bit_cnt ); Also, it makes sense to take the mantissa into account, so fix the code to do what's commented. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions