]> Git Repo - linux.git/commitdiff
drm/amd/amdgpu/amdgpu_ucode: Remove unused function ‘amdgpu_ucode_print_imu_hdr’
authorLee Jones <[email protected]>
Fri, 17 Mar 2023 08:16:54 +0000 (08:16 +0000)
committerAlex Deucher <[email protected]>
Wed, 22 Mar 2023 04:47:59 +0000 (00:47 -0400)
Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:129:6: warning: no previous prototype for ‘amdgpu_ucode_print_imu_hdr’ [-Wmissing-prototypes]

Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: "Pan, Xinhui" <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c

index b59c92037375de2db379008cbec06f321eb3301c..6d2879ac585b1190640520b64944fb0bc9044eb7 100644 (file)
@@ -126,19 +126,6 @@ void amdgpu_ucode_print_gfx_hdr(const struct common_firmware_header *hdr)
        }
 }
 
-void amdgpu_ucode_print_imu_hdr(const struct common_firmware_header *hdr)
-{
-       uint16_t version_major = le16_to_cpu(hdr->header_version_major);
-       uint16_t version_minor = le16_to_cpu(hdr->header_version_minor);
-
-       DRM_DEBUG("IMU\n");
-       amdgpu_ucode_print_common_hdr(hdr);
-
-       if (version_major != 1) {
-               DRM_ERROR("Unknown GFX ucode version: %u.%u\n", version_major, version_minor);
-       }
-}
-
 void amdgpu_ucode_print_rlc_hdr(const struct common_firmware_header *hdr)
 {
        uint16_t version_major = le16_to_cpu(hdr->header_version_major);
This page took 0.053239 seconds and 4 git commands to generate.