Re: [PATCH] drm/amdgpu: Remove dead static variable

2018-11-20 Thread Koenig, Christian
Am 20.11.18 um 11:48 schrieb Emil Velikov: > On Mon, 19 Nov 2018 at 11:19, Christian König > wrote: >> Am 19.11.18 um 12:07 schrieb Rex Zhu: >>> The static struct drm_driver *driver was >>> not used because drm_pci_init was deprecated >>> >>> Signed-off-by: Rex Zhu >> Reviewed-by: Christian

Re: [PATCH] drm/amdgpu: Remove dead static variable

2018-11-20 Thread Emil Velikov
On Mon, 19 Nov 2018 at 11:19, Christian König wrote: > > Am 19.11.18 um 12:07 schrieb Rex Zhu: > > The static struct drm_driver *driver was > > not used because drm_pci_init was deprecated > > > > Signed-off-by: Rex Zhu > > Reviewed-by: Christian König > > Can you of hand see what "pdriver" is

Re: [PATCH] drm/amdgpu: Remove dead static variable

2018-11-19 Thread Christian König
Am 19.11.18 um 12:07 schrieb Rex Zhu: The static struct drm_driver *driver was not used because drm_pci_init was deprecated Signed-off-by: Rex Zhu Reviewed-by: Christian König Can you of hand see what "pdriver" is used for? That looks suspicious like something deprecated as well.

[PATCH] drm/amdgpu: Remove dead static variable

2018-11-19 Thread Rex Zhu
The static struct drm_driver *driver was not used because drm_pci_init was deprecated Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c