2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08: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
dce80
dce110
dce120
dcn10
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
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
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
hw_factory.c drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
hw_factory.h
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
hw_gpio.c
hw_gpio.h
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
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