diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-09 06:44:40 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-16 01:08:27 +0300 |
commit | 259d968034c3cb1890ff539e75d803b44c8e81e4 (patch) | |
tree | 3a313d2a41d512348f6521ad1b513412b7fc63d8 /drivers/gpu/drm/radeon/radeon_combios.c | |
parent | a31c114bcfda33548b1197940ec9f05feab5e74b (diff) | |
download | linux-259d968034c3cb1890ff539e75d803b44c8e81e4.tar.xz |
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