Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 806c60c2 authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher
Browse files

drm/amdgpu: clean up to set fw_offset as 0 twice

parent c64474e4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {