]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Identical code for different branches
authorSunday Clement <Sunday.Clement@amd.com>
Fri, 23 May 2025 21:49:50 +0000 (17:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 May 2025 14:56:54 +0000 (10:56 -0400)
commit1091fba163834f51a02d5d149bd657804e6ab749
tree52cb1b4cbc81c706f30bcb1e752a10daf86fae55
parent978592136cfed3491330acfff12a90812d0c6a58
drm/amdkfd: Identical code for different branches

This patch removes the if/else statement in the
cik_event_interrupt_wq function because it is redundant
with both branches resulting in identical outcomes,
this improves code readibility.

Signed-off-by: Sunday Clement <Sunday.Clement@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c