aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2018-06-17 08:53:38 +0000
committerAlex Deucher <[email protected]>2018-07-05 21:38:46 +0000
commitd6258eaa41fc531277d44fbbee670c866025bfdc (patch)
treefd56b6d0135716aae687f461a4b4187fa02d893e /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
parentdrm/amdgpu: Rename entity cleanup finctions. (diff)
downloadkernel-d6258eaa41fc531277d44fbbee670c866025bfdc.tar.gz
kernel-d6258eaa41fc531277d44fbbee670c866025bfdc.zip
drm/amd/display: don't initialize result
The wrong enum type is used to initialize the result, leading to a warning when using clang: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1998:26: warning: implicit conversion from enumeration type 'enum ddc_result' to different enumeration type 'enum dc_status' [-Wenum-conversion] enum dc_status result = DDC_RESULT_UNKNOWN; ~~~~~~ ^~~~~~~~~~~~~~~~~~ 1 warning generated. Initialization of result is unnecessary anyway, just drop the initialization. Signed-off-by: Stefan Agner <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
0 files changed, 0 insertions, 0 deletions