]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite39e9b240146b9399c373098d39afe4400984470
treed446b021dd6c543ebf931c9457ef59cd957040f9
parent6cf83ac2d625730cc8a0dffc2d6cb2777680a2f3
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