aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorMaíra Canal <[email protected]>2022-02-22 10:16:55 -0300
committerAlex Deucher <[email protected]>2022-02-23 14:03:20 -0500
commit23da6e0f7d5ebdba2b18ffcc228130a33d5411cc (patch)
tree4d8a7ef718cb664e73ffae6b3f34c16ae5d8083e /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent78be946dad6d9f888726fbbb5de81b521f156c01 (diff)
drm/amd/display: Remove unused temp variable
Remove unused temp variable from the dmub_rb_flush_pending function by using arithmetic to remove the loop. The -Wunused-but-set-variable warning was pointed out by Clang with the following warning: drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2921:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] uint64_t temp; ^ v2: squash in revert and comment update (Alex) Signed-off-by: Maíra Canal <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions