Commit 337c2007 authored by John Clements's avatar John Clements Committed by Alex Deucher
Browse files

drm/amdgpu: clean up load TMR sequence



Removed redundant goto statement

Signed-off-by: default avatarJohn Clements <john.clements@amd.com>
Reviewed-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4fb60b02
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -287,15 +287,9 @@ static int psp_tmr_load(struct psp_context *psp)

	ret = psp_cmd_submit_buf(psp, NULL, cmd,
				 psp->fence_buf_mc_addr);
	if (ret)
		goto failed;

	kfree(cmd);

	return 0;

failed:
	kfree(cmd);
	return ret;
}