Re: [PATCH 04/10] drm/amd/display: Remove unused temp variable

2022-02-22 Thread Alex Deucher
Applied. Thanks! Alex On Tue, Feb 22, 2022 at 8:18 AM Maíra Canal wrote: > > 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: > >

[PATCH 04/10] drm/amd/display: Remove unused temp variable

2022-02-22 Thread Maíra Canal
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