summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-05-28 17:29:18 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-06-01 22:55:39 -0400
commit66c46621c812c46bac3baf07007c45046563bfc3 (patch)
treec6c1f032e2d61d30a11d77a7191d6d5950828c75 /drivers/gpu/drm/amd/display/modules
parent8333388b7513b55be8a0b37166d2129562ce974b (diff)
downloadlinux-66c46621c812c46bac3baf07007c45046563bfc3.tar.gz
amdgpu: remove unreachable code
In the function amdgpu_uvd_cs_msg(), every branch in the switch statement will have a return, so the code below the switch statement will not be executed. Eliminate the follow smatch warning: drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:845 amdgpu_uvd_cs_msg() warn: ignoring unreachable code. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules')
0 files changed, 0 insertions, 0 deletions