diff options
author | Huang Rui <ray.huang@amd.com> | 2016-09-28 16:04:33 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-10-04 11:16:00 -0400 |
commit | 806c60c2c1d387068dd2b47efdb52aac9a1f75ef (patch) | |
tree | 05f09ec5a75797c59cc37f2ab67457e50e747b56 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | c64474e4f72f21aec4ae27eab39b563cfd25561d (diff) | |
download | talos-op-linux-806c60c2c1d387068dd2b47efdb52aac9a1f75ef.tar.gz talos-op-linux-806c60c2c1d387068dd2b47efdb52aac9a1f75ef.zip |
drm/amdgpu: clean up to set fw_offset as 0 twice
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c index 7a05f79818f1..cb3d252f3c78 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c @@ -273,7 +273,6 @@ int amdgpu_ucode_init_bo(struct amdgpu_device *adev) amdgpu_bo_unreserve(*bo); - fw_offset = 0; for (i = 0; i < AMDGPU_UCODE_ID_MAXIMUM; i++) { ucode = &adev->firmware.ucode[i]; if (ucode->fw) { |