]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/virt: remove redundant variable pf2vf_ver
authorColin Ian King <colin.king@canonical.com>
Sat, 11 Nov 2017 11:51:10 +0000 (11:51 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:23 +0000 (12:47 -0500)
commit288e46d398aa323ae9cfb735d9e1e93a9f048d64
tree5e1bdca280ed5bdf65d1736fecd801c38312e9ec
parentc1fe75c9e42c8c598a7fb810ecc4f7be258e700c
drm/amdgpu/virt: remove redundant variable pf2vf_ver

Variable pf2vf_ver is assigned but never read, it is redundant and
hence can be removed.

Cleans up clang warning:
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:310:3: warning: Value stored
to 'pf2vf_ver' is never read

Reivewed-by: Horace Chen <horace.chen@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c