diff options
| author | Andy Shevchenko <[email protected]> | 2024-11-10 20:59:45 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2024-11-13 13:18:06 +0000 |
| commit | ab899a0ec3cb0748f67ca66a14615dadfa6304e7 (patch) | |
| tree | 3f74b79263451884a35a14929fd75112e9185c82 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | pinctrl: cy8c95x0: Use temporary variable for struct device (diff) | |
| download | kernel-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
