diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-09-07 00:04:01 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-11-25 08:32:09 +0000 |
| commit | 2f79df7260cdafbe0cb8fd6fd5b3d8024946f95f (patch) | |
| tree | cc614e6a60a37535d476507712df32d32bce34f2 /tools/perf/scripts | |
| parent | media: imx: imx7-media-csi: Add support for fast-tracking queued buffers (diff) | |
| download | linux-2f79df7260cdafbe0cb8fd6fd5b3d8024946f95f.tar.gz linux-2f79df7260cdafbe0cb8fd6fd5b3d8024946f95f.zip | |
media: imx: imx7-media-csi: Move variable to loop scope
The phys variable is only used as a local loop variable in
imx7_csi_setup_vb2_buf(), with each entry in the array being used in the
corresponding iteration of the loop only. Move it to loop scope,
simplifying the array to a single variable.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
