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)
commit5222d26146029bffa6d94d14315529cddaac96cf
tree37089a10763c83d79f0c559c7341af69a9deb58b
parent8a3e801f1924c07781e93f043a74cfa244451787
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