diff options
| author | Rex Zhu <[email protected]> | 2018-10-09 06:22:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-10-10 19:49:01 +0000 |
| commit | 735f654e5dd1c55d28aa04d49a9b7fcd3d5cccd0 (patch) | |
| tree | 21a6da17f3b9c1681d390c7e694dc40eecfeceb0 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
| parent | drm/amdgpu: Split amdgpu_ucode_init/fini_bo into two functions (diff) | |
| download | kernel-735f654e5dd1c55d28aa04d49a9b7fcd3d5cccd0.tar.gz kernel-735f654e5dd1c55d28aa04d49a9b7fcd3d5cccd0.zip | |
drm/amdgpu: Remove amdgpu_ucode_fini_bo
The variable clean is unnecessary.
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h index 651529645200..aa6641b944a0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h @@ -276,9 +276,8 @@ void amdgpu_ucode_print_gpu_info_hdr(const struct common_firmware_header *hdr); int amdgpu_ucode_validate(const struct firmware *fw); bool amdgpu_ucode_hdr_version(union amdgpu_firmware_header *hdr, uint16_t hdr_major, uint16_t hdr_minor); -int amdgpu_ucode_init_bo(struct amdgpu_device *adev); -int amdgpu_ucode_fini_bo(struct amdgpu_device *adev); +int amdgpu_ucode_init_bo(struct amdgpu_device *adev); int amdgpu_ucode_create_bo(struct amdgpu_device *adev); void amdgpu_ucode_free_bo(struct amdgpu_device *adev); |
