]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove redundant variable definition
authorGuchun Chen <guchun.chen@amd.com>
Wed, 18 Sep 2019 03:33:19 +0000 (11:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:10:59 +0000 (09:10 -0500)
commit6546090380c02c2539d0b8f90a8e279d9230d12d
tree37089a10763c83d79f0c559c7341af69a9deb58b
parentfa4dd0e18165565c4d05c0c6c80f72a866efc2b3
drm/amdgpu: remove redundant variable definition

No need to define the same variables in each loop of the function.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c