[PATCH] drm/amdgpu: Delete an unnecessary check before two function calls