linux/drivers/gpu/drm/amd/display/dc/gpio
Alex Hung 82c94233e5 drm/amd/display: Remove useless comparison of unsigned int vs. 0
[WHY & HOW]
The comparisons of unsigned int with 0 can have no meanings, i.e.
unsigned int >= 0 (always true) or unsigned int < 0 (always false), and
therefore they are removed.

This fixes 12 NO_EFFECT issues reported by Coverity.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-06-14 16:17:17 -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
dcn401 drm/amd/display: Add new DCN401 sources 2024-04-26 17:23:13 -04:00
Makefile drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -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
gpio_regs.h
gpio_service.c drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create 2024-05-02 16:18:17 -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