diff options
author | Hans-Frieder Vogt <hfvogt@gmx.net> | 2012-07-15 18:56:47 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-31 02:55:14 +0200 |
commit | fc4b3fa714fb2a078531bccb501cf2ef8c7f888a (patch) | |
tree | d502bfe4a77bfca8061cc25fa71afb2cbda1920c /drivers/media/video/via-camera.c | |
parent | [media] Add support for the IguanaWorks USB IR Transceiver (diff) | |
download | linux-fc4b3fa714fb2a078531bccb501cf2ef8c7f888a.tar.xz linux-fc4b3fa714fb2a078531bccb501cf2ef8c7f888a.zip |
[media] rtl2832.c: minor cleanup
The current formulation of the bw_params loop uses the counter j as an
index for the first dimension of the bw_params array which is later
incremented by the variable i. It is evaluated correctly only, because j
is initialized to 0 at the beginning of the loop. I think that
explicitly using the index 0 better reflects the intent of the
expression.
Signed-off-by: Hans-Frieder Vogt <hfvogt@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/via-camera.c')
0 files changed, 0 insertions, 0 deletions