diff options
author | Pu Lehui <pulehui@huawei.com> | 2021-06-15 11:14:01 +0800 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-06-15 10:43:35 +0200 |
commit | d29b4295c325a0214d51b82fdc929d330e20979c (patch) | |
tree | b48f3c57b8b9b9b0c4511096e36624c3addcdfe4 /drivers/gpu/drm/drm_dp_mst_topology.c | |
parent | 1bd8a7dc28c1c410f1ceefae1f2a97c06d1a67c2 (diff) | |
download | lwn-d29b4295c325a0214d51b82fdc929d330e20979c.tar.gz lwn-d29b4295c325a0214d51b82fdc929d330e20979c.zip |
drm/hyperv: Fix unused const variable 'hyperv_modifiers'
There is a gcc '-Wunused-const-variable' warning:
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c:152:23: warning:
'hyperv_modifiers' defined but not used [-Wunused-const-variable=]
while the variable should be used in drm_simple_display_pipe_init()
as suggested by Thomas, let's fix it.
Fixes: 76c56a5affeb ("drm/hyperv: Add DRM driver for hyperv synthetic video device")
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210615031401.231751-1-pulehui@huawei.com
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
0 files changed, 0 insertions, 0 deletions