diff options
| author | 2020-11-16 17:40:31 +0000 | |
|---|---|---|
| committer | 2020-11-16 15:56:35 -0500 | |
| commit | bb2585c406dccccaa2a3907f6dbfd6794867ea77 (patch) | |
| tree | 457493d7ccc00ccd95479c99db133719bc7b5ce3 /drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | |
| parent | drm/radeon/radeon_drv: Move 'radeon_gem_prime_import_sg_table()'s prototype to shared header (diff) | |
| download | wireguard-linux-bb2585c406dccccaa2a3907f6dbfd6794867ea77.tar.xz wireguard-linux-bb2585c406dccccaa2a3907f6dbfd6794867ea77.zip | |
drm/amd/amdgpu/atombios_encoders: Remove set but unused variable 'backlight_level'
Also removing the call to amdgpu_atombios_encoder_get_backlight_level_from_reg()
since, according to Alex Deucher, "We call it again below indirectly".
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c: In function ‘amdgpu_atombios_encoder_init_backlight’:
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:174:5: warning: variable ‘backlight_level’ 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: Luben Tuikov <luben.tuikov@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/gfxhub_v1_0.c')
0 files changed, 0 insertions, 0 deletions
