Re: [PATCH] drm/amdgpu: remove unused functions

2016-09-19 Thread Alex Deucher
On Mon, Sep 19, 2016 at 6:02 AM, Christian König wrote: > Am 18.09.2016 um 16:13 schrieb Baoyou Xie: >> >> We get 2 warnings when building kernel with W=1: >> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:146:5: warning: no previous >> prototype for 'pool_to_domain' [-Wmissing-prototypes] >> drivers/

Re: [PATCH] drm/amdgpu: remove unused functions

2016-09-19 Thread Christian König
Am 18.09.2016 um 16:13 schrieb Baoyou Xie: We get 2 warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:146:5: warning: no previous prototype for 'pool_to_domain' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/cz_smc.c:104:5: warning: no previous prototype for

[PATCH] drm/amdgpu: remove unused functions

2016-09-18 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:146:5: warning: no previous prototype for 'pool_to_domain' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/cz_smc.c:104:5: warning: no previous prototype for 'cz_send_msg_to_smc_with_parameter_async' [-W