]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/imagination: loop counters moved to loop scope
authorAlexandru Dadu <alexandru.dadu@imgtec.com>
Wed, 2 Apr 2025 08:40:05 +0000 (09:40 +0100)
committerMatt Coster <matt.coster@imgtec.com>
Mon, 7 Apr 2025 09:09:40 +0000 (10:09 +0100)
commit81feddc12613567d8206a9697d068711140e9c47
tree28e87d94e4f31fe92198a2b30095d287d1ca309b
parent814d270b31d27b6ea4f722b8ae2db9802fe332ff
drm/imagination: loop counters moved to loop scope

Reduce the scope of some loop counters as these aren't needed outside
the loops they're used in.

Signed-off-by: Alexandru Dadu <alexandru.dadu@imgtec.com>
Reviewed-by: Matt Coster <matt.coster@imgtec.com>
Link: https://lore.kernel.org/r/20250402-for-loop-counter-scope-v2-1-4fd550d22832@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
drivers/gpu/drm/imagination/pvr_debugfs.c
drivers/gpu/drm/imagination/pvr_free_list.c
drivers/gpu/drm/imagination/pvr_fw.c
drivers/gpu/drm/imagination/pvr_fw_meta.c
drivers/gpu/drm/imagination/pvr_fw_mips.c
drivers/gpu/drm/imagination/pvr_fw_trace.c
drivers/gpu/drm/imagination/pvr_gem.c
drivers/gpu/drm/imagination/pvr_hwrt.c
drivers/gpu/drm/imagination/pvr_stream.c
drivers/gpu/drm/imagination/pvr_vm_mips.c