diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-08-20 11:51:16 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-30 15:26:47 -0400 |
commit | 415b7ba36a788dd2496a605f3fc992c793afd406 (patch) | |
tree | 03454e004fc2491f45609ed303525991b014de69 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 5f5c75bf1687d492d35fb37819508a270ba7a8f8 (diff) | |
download | linux-415b7ba36a788dd2496a605f3fc992c793afd406.tar.gz linux-415b7ba36a788dd2496a605f3fc992c793afd406.tar.bz2 linux-415b7ba36a788dd2496a605f3fc992c793afd406.zip |
drm/amdgpu: Use kvzalloc() to simplify code
kvzalloc() can be used instead of kvmalloc() + memset() + explicit NULL
assignments.
It is less verbose and more future proof.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions