diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-09 05:44:40 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-16 00:08:27 +0200 |
commit | 259d968034c3cb1890ff539e75d803b44c8e81e4 (patch) | |
tree | 3a313d2a41d512348f6521ad1b513412b7fc63d8 /drivers/gpu/drm/radeon/radeon_combios.c | |
parent | drm/amdgpu/vcn: mmsch_v4_0_3 requires doorbell on 32 byte boundary (diff) | |
download | linux-259d968034c3cb1890ff539e75d803b44c8e81e4.tar.xz linux-259d968034c3cb1890ff539e75d803b44c8e81e4.zip |
drm/amd/display: 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/radeon/radeon_combios.c')
0 files changed, 0 insertions, 0 deletions