Re: [PATCH v2 -next] drm/hyperv: Fix unused const variable 'hyperv_modifiers'

2021-06-15 Thread Thomas Zimmermann
Hi Am 15.06.21 um 05:14 schrieb Pu Lehui: 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()

[PATCH v2 -next] drm/hyperv: Fix unused const variable 'hyperv_modifiers'

2021-06-14 Thread Pu Lehui
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: