]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gmc7: remove dead code (v2)
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 21 Aug 2016 18:06:32 +0000 (20:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Aug 2016 17:48:04 +0000 (13:48 -0400)
commit3a6cc6d2559cf4a1c4f1dcedeb0b5203188ea80b
treedc1468410288b0c6da6002fb7161268ffe406b47
parent970e03221189ef23f965f82a587b16ae03e40eeb
drm/amdgpu/gmc7: remove dead code (v2)

In an if block for (running == 0) running cannot be non-zero.

v2: agd: remove unused variable

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c