diff options
author | 2023-11-03 22:18:22 +0200 | |
---|---|---|
committer | 2023-11-22 18:50:31 +0200 | |
commit | a1f763fe869c6875a6649bb0c145e589e08087a0 (patch) | |
tree | a5b82b1c95792bb4a9bb0f8ad394a5147136e986 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | drm/i915/dsi: Replace while(1) with one with clear exit condition (diff) | |
download | linux-rng-a1f763fe869c6875a6649bb0c145e589e08087a0.tar.xz linux-rng-a1f763fe869c6875a6649bb0c145e589e08087a0.zip |
drm/i915/dsi: Get rid of redundant 'else'
In the snippets like the following
if (...)
return / goto / break / continue ...;
else
...
the 'else' is redundant. Get rid of it.
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231103201831.1037416-8-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions