diff options
| author | 2017-05-04 12:39:50 -0400 | |
|---|---|---|
| committer | 2017-05-24 17:40:28 -0400 | |
| commit | 5b9c58f9978fb17692966173262ef05f9a1f9a1e (patch) | |
| tree | 3591f2058b857931bfdc98b9e11a82e5611ece65 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu:cleanup flag not used (diff) | |
| download | linux-dev-5b9c58f9978fb17692966173262ef05f9a1f9a1e.tar.xz linux-dev-5b9c58f9978fb17692966173262ef05f9a1f9a1e.zip | |
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: Christian König <christian.koenig@amd.com>
Signed-off-by: Nikola Pajkovsky <npajkovsky@suse.cz>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
