drm/amdgpu: cleanup VM shadow BO unreferencing
Unreference the shadow BOs in the error path as well and drop the NULL checks. Signed-off-by: NChristian König <christian.koenig@amd.com> Acked-by: NEdward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: NAlex Deucher <alexander.deucher@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录