]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/client: Move variables to tighter scope
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 28 Feb 2025 21:14:53 +0000 (23:14 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Mar 2025 16:33:40 +0000 (18:33 +0200)
commitc11acfe20c24f91588f1d9401f79da71a74fc5a1
tree91f69422d5c4cbb81f5a7b87521f3834188c02d1
parent4e5613849ecde8c8c4b0cb4e7bfe25ba5d149020
drm/client: Move variables to tighter scope

Bunch of variables are only needed inside loops and whatnot.
Move them to a tighter scope to make the code less confusing.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250228211454.8138-8-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_client_modeset.c