]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remove dead static variable
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 19 Nov 2018 10:59:53 +0000 (18:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Nov 2018 19:02:09 +0000 (14:02 -0500)
commit4caf812cecae2a25470eb6bb7365e7786f82a6e0
tree70da6498034fe7a83d807ea36f2887dc82b75b76
parent6c42bec0a3df3afb03ed1145d3ab92c6c28dc65f
drm/amdgpu: Remove dead static variable

The static struct drm_driver *driver was
not used because drm_pci_init was deprecated

v2: Remove static pointer pdriver(Christian)

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c