1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/gpio
Alex Hung e421808cbe drm/amd/display: Remove useless assignments
[WHAT & HOW]
"split_pipe" are assigned to test_pipe and then immediately are updated
to other values. The same also applies to "status" as well.

Similarly, "id", "dwb" and "unused_dpps" are assigned but the functions
immediately return, and thus they have no effects.

As a results, the assignments removed.

This fixes 5 UNUSED_VALUE issues reported by Coverity.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-10-15 11:22:48 -04:00
..
dce60 drm/amd/display: dc/gpio: add support for DCE6 (v2) 2020-07-27 16:46:00 -04:00
dce80 drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
dce110 drm/amd/display: remove duplicate include in dcn21 and gpio 2021-03-23 23:03:32 -04:00
dce120 drm: amd/display: fix spelling of "function" 2020-09-15 17:52:42 -04:00
dcn10 drm: amd/display: fix spelling of "function" 2020-09-15 17:52:42 -04:00
dcn20 drm/amd/display: fix mapping to non-allocated address 2023-01-17 15:40:44 -05:00
dcn21 drm/amd/display: Update comments in DC 2024-04-30 09:44:55 -04:00
dcn30 drm/amd/display: fix mapping to non-allocated address 2023-01-17 15:40:44 -05:00
dcn32 drm/amd/display: fix mapping to non-allocated address 2023-01-17 15:40:44 -05:00
dcn315 drm/amd/display: Add DCN315 GPIO 2022-02-18 14:07:00 -05:00
dcn401 drm/amd/display: Add two dmmuy I2C entry for GPIO port mapping issue 2024-07-27 17:31:04 -04:00
ddc_regs.h drm/amd/display: Clean up errors in ddc_regs.h 2023-08-09 09:42:49 -04:00
generic_regs.h drm/amd/display: Implement generic MUX registers (v2) 2019-07-18 14:27:24 -05:00
gpio_base.c drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
gpio_regs.h
gpio_service.c drm/amd/display: Remove useless assignments 2024-10-15 11:22:48 -04:00
gpio_service.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hpd_regs.h drm/amd/dc: Clean up errors in hpd_regs.h 2023-08-09 09:42:51 -04:00
hw_ddc.c drm/amd/display: Remove useless comparison of unsigned int vs. 0 2024-06-14 16:17:17 -04:00
hw_ddc.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_factory.c drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
hw_factory.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_generic.c drm/amd/display: Remove useless comparison of unsigned int vs. 0 2024-06-14 16:17:17 -04:00
hw_generic.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_gpio.c amdgpu/dc: cleanup construct returns in gpio. 2017-09-29 13:02:28 -04:00
hw_gpio.h amdgpu/dc: cleanup construct returns in gpio. 2017-09-29 13:02:28 -04:00
hw_hpd.c drm/amd/display: Remove useless comparison of unsigned int vs. 0 2024-06-14 16:17:17 -04:00
hw_hpd.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_translate.c drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
hw_translate.h
Makefile drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00