aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-11-10 20:59:45 +0000
committerLinus Walleij <[email protected]>2024-11-13 13:18:06 +0000
commitab899a0ec3cb0748f67ca66a14615dadfa6304e7 (patch)
tree3f74b79263451884a35a14929fd75112e9185c82 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentpinctrl: cy8c95x0: Use temporary variable for struct device (diff)
downloadkernel-ab899a0ec3cb0748f67ca66a14615dadfa6304e7.tar.gz
kernel-ab899a0ec3cb0748f67ca66a14615dadfa6304e7.zip
pinctrl: cy8c95x0: embed iterator to the for-loop
When we iterate through nports the iterator variable is effectively being not used outside of the loop. Make it clear by moving its definition into the for-loop. This makes code cleaner as well. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions