1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/irq
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 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dce80 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dce110 drm/amd/display: Check pipe offset before setting vblank 2024-04-26 17:22:44 -04:00
dce120 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dcn10 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dcn20 drm/amd/display: Drop unnecessary header 2024-02-22 10:26:08 -05:00
dcn21 drm/amd/display: Drop unnecessary header 2024-02-22 10:26:08 -05:00
dcn30 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dcn31 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dcn32 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dcn35 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dcn201 drm/amd/display: Fix copyright notice in DC code 2023-10-26 18:41:23 -04:00
dcn302 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dcn303 drm/amd/display: Fix copyright notice in DC code 2023-10-26 18:41:23 -04:00
dcn314 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dcn315 drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
dcn351 drm/amd/display: add DCN351 IRQ changes 2024-03-04 15:59:08 -05:00
dcn401 drm/amd/display: Use DCN 410 includes for DCN401 2024-05-29 14:40:39 -04:00
irq_service.c drm/amd/display: Remove useless comparison of unsigned int vs. 0 2024-06-14 16:17:17 -04:00
irq_service.h drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
Makefile drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00