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)
commit5c0eb98e484067c3492352bb7f504653302cf5f2
treedc1468410288b0c6da6002fb7161268ffe406b47
parent5da25cd5754b97088f2f33bdc811f379b5b3e9ae
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