drm/amdgpu: clean up to set fw_offset as 0 twice
Subsystems (2)
PATCH 1/1 drm/amdgpu: clean up to set fw_offset as 0 twice
Signed-off-by Huang Rui <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +0 -1
@@ -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) {
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1475050058-3468-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Reviewed-byQuoted 1 line · Huang Rui
Signed-off-by Huang Rui <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 19 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +0
-2@@ -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) { --2.7.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx