drm/amdgpu: Remove amdgpu_bo_list_array_entry()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 20 Aug 2023 09:51:15 +0000 (11:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:26:45 +0000 (15:26 -0400)
commit5f5c75bf1687d492d35fb37819508a270ba7a8f8
treee9a8f8e46f40dfee4fa307fe4139a0e9db7f617d
parenta23abe1fbdc16358ca185b4681fef19ec75b79c3
drm/amdgpu: Remove amdgpu_bo_list_array_entry()

Now that there is an explicit flexible array at the end of 'struct
amdgpu_bo_list', it can be used to remove amdgpu_bo_list_array_entry() and
simplify some macro.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h