diff options
| author | Ricardo Ribalda <[email protected]> | 2024-04-10 21:54:41 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-04-15 13:42:39 +0200 |
| commit | cb385548ec17797fb0d356d83dc5d9035de6eec4 (patch) | |
| tree | e7aa187a0e62a30c47378532c41a9aba56a3fde4 /tools/perf/scripts/python/bin | |
| parent | e932a85dae9ec894b78feb4d5252e708acaa0261 (diff) | |
media: v4l2-ctrls-core.c: Do not use iterator outside loop
Simplify a bit the code introducing a new variable for iterating through
the control list.
It also makes smatch happy:
drivers/media/v4l2-core/v4l2-ctrls-api.c:1091 v4l2_query_ext_ctrl() warn: iterator used outside loop: 'ref'
Signed-off-by: Ricardo Ribalda <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
[hverkuil: fix tiny whitespace issue in 'pos = ref': use just one space]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions