OSDN Git Service

drm/amdgpu: fixed the warnings reported by kernel test robot
authoryipechai <YiPeng.Chai@amd.com>
Fri, 11 Mar 2022 08:54:20 +0000 (16:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 18:42:20 +0000 (14:42 -0400)
commit8476269f758221863c01a0a6cccb0d75ec5d60c3
treeaeb9167b681c90aa044589f7ffe9832df9bda020
parentfdf0ece6309d90dc0f9388001239cb2d12671af3
drm/amdgpu: fixed the warnings reported by kernel test robot

The reported warnings are as follows:
  1.warning:no-previous-prototype-for-amdgpu_hdp_ras_fini.
  2.warning:no-previous-prototype-for-amdgpu_mmhub_ras_fini.

Amdgpu_hdp_ras_fini and amdgpu_mmhub_ras_fini are unused
in the code, they are the only functions in amdgpu_hdp.c
and amdgpu_mmhub.c. After removing these two functions,
both amdgpu_hdp.c and amdgpu_mmhub.c are empty, so these
two files can be deleted to fix the warning.

Signed-off-by: yipechai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c [deleted file]
drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c [deleted file]