diff options
| author | Jiapeng Chong <[email protected]> | 2022-01-14 10:43:52 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-01-14 22:52:50 +0000 |
| commit | fb825b651de98cafef13e07673eb72d5e2ceb4a9 (patch) | |
| tree | d57af17d561c8a735de3a3c877fd45bdfe932dfe /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | drm/amd/pm: Replace one-element array with flexible-array member (diff) | |
| download | kernel-fb825b651de98cafef13e07673eb72d5e2ceb4a9.tar.gz kernel-fb825b651de98cafef13e07673eb72d5e2ceb4a9.zip | |
drm/amd/display: Remove redundant initialization of dpg_width
dpg_width is being initialized to width but this is never read
as dpg_width is overwritten later on. Remove the redundant
initialization.
Cleans up the following clang-analyzer warning:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:6020:8:
warning: Value stored to 'dpg_width' during its initialization is never
read [clang-analyzer-deadcode.DeadStores].
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
