diff options
author | Huang Rui <ray.huang@amd.com> | 2016-09-28 10:04:33 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-10-04 17:16:00 +0200 |
commit | 806c60c2c1d387068dd2b47efdb52aac9a1f75ef (patch) | |
tree | 05f09ec5a75797c59cc37f2ab67457e50e747b56 /drivers | |
parent | drm/amdgpu: remove DRM_AMD_POWERPLAY (diff) | |
download | linux-806c60c2c1d387068dd2b47efdb52aac9a1f75ef.tar.xz 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')
-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) { |