summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-09 11:44:42 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-08-15 18:08:27 -0400
commit3cc0f8f4e391bfb0a9d0ca91594faea56f4752e9 (patch)
treeff12874b8fda4ee60b2d28a72b4c7aa0eae07084 /drivers/gpu/drm/amd
parent259d968034c3cb1890ff539e75d803b44c8e81e4 (diff)
drm/radeon: 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')
0 files changed, 0 insertions, 0 deletions