mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dc
zhengbin 6a1112da65 drm/amd/display: Remove set but not used variables 'pp_smu', 'old_pipe'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c: In function dce110_enable_audio_stream:
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c:949:23: warning: variable pp_smu set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c: In function dce110_disable_audio_stream:
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c:983:23: warning: variable pp_smu set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c: In function dce110_program_front_end_for_pipe:
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c:2429:19: warning: variable old_pipe set but not used [-Wunused-but-set-variable]

'pp_smu' is not used since commit 170a2398d2 ("drm/amd/display:
make clk_mgr call enable_pme_wa")

'old_pipe' is not used since commit 65d38262b3 ("drm/amd/display:
fbc state could not reach while enable fbc")

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-07 15:10:50 -05:00
..
basics drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
bios drm/amd/display: Handle Renoir in DC 2019-08-29 15:52:33 -05:00
calcs drm/amd/display: Implement voltage limitation for dali 2019-09-16 10:06:48 -05:00
clk_mgr drm/amdgpu/display: fix 64 bit divide 2019-10-03 09:11:00 -05:00
core drm/amd/display: Make function wait_for_alt_mode static 2019-10-07 15:10:29 -05:00
dce drm/amd/display: rename variable eanble -> enable 2019-09-16 10:42:55 -05:00
dce80 drm/amd/display: memory leak 2019-10-03 09:11:06 -05:00
dce100 drm/amd/display: memory leak 2019-10-03 09:11:06 -05:00
dce110 drm/amd/display: Remove set but not used variables 'pp_smu', 'old_pipe' 2019-10-07 15:10:50 -05:00
dce112 drm/amd/display: memory leak 2019-10-03 09:11:06 -05:00
dce120 drm/amd/display: memory leak 2019-10-03 09:11:06 -05:00
dcn10 drm/amd/display: memory leak 2019-10-03 09:11:06 -05:00
dcn20 drm/amd/display: Remove set but not used variable 'pixel_width' 2019-10-07 15:10:45 -05:00
dcn21 drm/amdgpu/display: include slab.h in dcn21_resource.c 2019-10-03 09:11:01 -05:00
dml drm/amdgpu: display_mode_vba_21: remove uint typedef 2019-10-03 09:11:06 -05:00
dsc drm/amd/display: Remove set but not used variable 'source_bpp' 2019-10-07 15:10:34 -05:00
gpio drm/amd/display: remove hw access from dc_destroy 2019-09-13 18:02:52 -05:00
hdcp drm/amd/display: Add HDCP module 2019-10-03 09:10:58 -05:00
inc drm/amd/display: Update hdcp display config 2019-10-03 09:10:58 -05:00
irq drm/amd/display: Add Renoir irq_services (v2) 2019-08-29 15:52:33 -05:00
virtual drm/amd/display: reset hdmi tmds rate and data scramble on pipe reset 2019-08-15 10:52:59 -05:00
dc_bios_types.h drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dc_ddc_types.h drm/amd/display: add i2c over aux failure handling 2019-03-19 15:36:49 -05:00
dc_dp_types.h drm/amd/display: Synchronous DisplayPort Link Training 2019-08-15 10:53:30 -05:00
dc_dsc.h drm/amd/display: Isolate DSC module from driver dependencies 2019-09-13 18:03:13 -05:00
dc_helper.c drm-misc-next for v5.3: 2019-06-14 11:44:24 +02:00
dc_hw_types.h drm/amd/display: Isolate DSC module from driver dependencies 2019-09-13 18:03:13 -05:00
dc_link.h drm/amd/display: Don't allocate payloads if link lost 2019-09-13 17:55:01 -05:00
dc_stream.h drm/amd/display: remove hw access from dc_destroy 2019-09-13 18:02:52 -05:00
dc_types.h drm/amd/display: Update hdcp display config 2019-10-03 09:10:58 -05:00
dc.h drm/amd/display: Update hdcp display config 2019-10-03 09:10:58 -05:00
dm_cp_psp.h drm/amd/display: Update hdcp display config 2019-10-03 09:10:58 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Don't allocate payloads if link lost 2019-09-13 17:55:01 -05:00
dm_pp_smu.h drm/amd/display: Add pp_smu functions for Renoir 2019-08-29 15:52:33 -05:00
dm_services_types.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
dm_services.h drm/amd/display: refactor dump_clk_registers 2019-07-18 14:18:09 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: Add HDCP module 2019-10-03 09:10:58 -05:00
os_types.h drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00