diff options
author | 2023-08-09 11:44:39 +0800 | |
---|---|---|
committer | 2023-08-15 18:08:27 -0400 | |
commit | 275e37221b1046dea0c1de67c54ad3699fc9eb5b (patch) | |
tree | 3d1077fe8274d20bbd5eb9ef298c4482e35e9786 /drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h | |
parent | drm/amd/display: dmub_replay: don't use kernel-doc markers (diff) | |
download | linux-rng-275e37221b1046dea0c1de67c54ad3699fc9eb5b.tar.xz linux-rng-275e37221b1046dea0c1de67c54ad3699fc9eb5b.zip |
drm/amdkfd: Remove unnecessary NULL values
The NULL initialization of the pointers assigned by kzalloc() first is
not necessary, because if the kzalloc() failed, the pointers will be
assigned NULL, otherwise it works as usual. so remove it.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h')
0 files changed, 0 insertions, 0 deletions