]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdkfd: remove redundant initialization to variable r
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Apr 2021 12:44:52 +0000 (13:44 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Apr 2021 21:17:50 +0000 (17:17 -0400)
commita40eb089b46e082239b3461eaf50f966e5f51e4c
tree73f49f7e606abc8187a26f5ffe8872a06b4117b3
parent65f8db8150ee30623cd6b870d6f836c4339026a5
drm/amdkfd: remove redundant initialization to variable r

The variable r is being initialized with a value that is never read
and it is being updated later with a new value. The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c