[PATCH][next] drm/msm: remove unused variable 'out'

Doug Anderson dianders at chromium.org
Thu Mar 14 15:29:12 UTC 2024


Hi,

On Thu, Mar 7, 2024 at 1:37 AM Colin Ian King <colin.i.king at gmail.com> wrote:
>
> The variable out is being initialized and incremented but it is never
> actually referenced in any other way. The variable is redundant and can
> be removed.
>
> Cleans up clang scan build warning:
> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:843:6: warning: variable
> 'out' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
> ---
>  drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 3 ---
>  1 file changed, 3 deletions(-)

Tested-by: Douglas Anderson <dianders at chromium.org>


More information about the Freedreno mailing list