aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorQian Cai <[email protected]>2019-07-22 19:14:46 +0000
committerSean Paul <[email protected]>2019-07-22 20:04:53 +0000
commitbbb6fc43f131f77fcb7ae8081f6d7c51396a2120 (patch)
tree52f2ad7c578d8ccd7914abcc4263ab85ceaa5522 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/msm: stop abusing dma_map/unmap for cache (diff)
downloadkernel-bbb6fc43f131f77fcb7ae8081f6d7c51396a2120.tar.gz
kernel-bbb6fc43f131f77fcb7ae8081f6d7c51396a2120.zip
drm: silence variable 'conn' set but not used
The "struct drm_connector" iteration cursor from "for_each_new_connector_in_state" is never used in atomic_remove_fb() which generates a compilation warning, drivers/gpu/drm/drm_framebuffer.c: In function 'atomic_remove_fb': drivers/gpu/drm/drm_framebuffer.c:838:24: warning: variable 'conn' set but not used [-Wunused-but-set-variable] Silence it by marking "conn" __maybe_unused. Signed-off-by: Qian Cai <[email protected]> Signed-off-by: Sean Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions