drm/amd/amdgpu: get rid of else branch
else branch is pointless if it's right at the end of function and use unlikely() on err path. Reviewed-by: NChristian König <christian.koenig@amd.com> Signed-off-by: NNikola Pajkovsky <npajkovsky@suse.cz> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录