]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Remove the unused variable ds_port
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 10 Feb 2023 02:28:39 +0000 (10:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Feb 2023 21:04:34 +0000 (16:04 -0500)
commitee3916b45add7ba9fa59b0e9832a5d24d34047d7
tree6788defcf6ff94c467794758d79908f93e9ada4e
parent71c4ca2d3b079d0ba4d9b3033641fea906cebfb6
drm/amd/display: Remove the unused variable ds_port

Variable ds_port is not effectively used, so delete it.

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c:280:35: warning: variable ‘ds_port’ set but not used.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4030
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c