diff options
author | 2020-11-13 13:49:27 +0000 | |
---|---|---|
committer | 2020-11-13 17:29:46 -0500 | |
commit | 29d6a1631e5502f2f4a28c2f2a40ddfcd81a5bcb (patch) | |
tree | 62f9c7d861599b56e5939c464cae6345f7064e50 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | |
parent | drm/amd/amdgpu/amdgpu_virt: Make local function 'amdgpu_virt_update_vf2pf_work_item()' static (diff) | |
download | wireguard-linux-29d6a1631e5502f2f4a28c2f2a40ddfcd81a5bcb.tar.xz wireguard-linux-29d6a1631e5502f2f4a28c2f2a40ddfcd81a5bcb.zip |
drm/amd/amdgpu/amdgpu_csa: Remove set but unused variable 'r'
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c: In function ‘amdgpu_allocate_static_csa’:
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:40:6: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Monk.liu@amd.com
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
0 files changed, 0 insertions, 0 deletions