drm/amdgpu: remove unused functions
authorBaoyou Xie <baoyou.xie@linaro.org>
Sun, 18 Sep 2016 14:13:19 +0000 (22:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Sep 2016 14:24:16 +0000 (10:24 -0400)
commitfa675329fc79dc2f657811b26f17e7bd6f1b9837
treed446b021dd6c543ebf931c9457ef59cd957040f9
parent3de4ec57271a1979b5d960d8610939fff7dc38f9
drm/amdgpu: remove unused functions

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' [-Wmissing-prototypes]

In fact, both functions are called by no one and not exported,
so this patch removes them.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/cz_smc.c