summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-09-07 02:04:01 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-11-25 11:32:09 +0300
commit2f79df7260cdafbe0cb8fd6fd5b3d8024946f95f (patch)
treecc614e6a60a37535d476507712df32d32bce34f2 /drivers/md
parenta868d306de5848b1e2f4911a7aed941a902cc578 (diff)
downloadlinux-2f79df7260cdafbe0cb8fd6fd5b3d8024946f95f.tar.xz
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 'drivers/md')
0 files changed, 0 insertions, 0 deletions