reg_count is not used and the register count is
directly derived from the array size and hence
removed.
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/* IP reg dump */
uint32_t *ip_dump;
- uint32_t reg_count;
};
struct amdgpu_gfx_ras_reg_entry {
if (ptr == NULL) {
DRM_ERROR("Failed to allocate memory for IP Dump\n");
adev->gfx.ip_dump = NULL;
- adev->gfx.reg_count = 0;
} else {
adev->gfx.ip_dump = ptr;
- adev->gfx.reg_count = reg_count;
}
}