diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2023-03-27 23:28:47 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-31 11:18:44 -0400 |
commit | e86c30e951b50301fbc80e0ba7f6ffdc16e4fe85 (patch) | |
tree | 126384549cdaa7cc3dab7e3f8dd4321bbf33cf63 /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | |
parent | 69bacf1545206ddf5e1cdcfe868b78f33bb4ea5c (diff) |
drm/amd/amdgpu: Remove initialisation of globals to 0 or NULL
Global variables do not need to be initialized to 0 or NULL and checkpatch
flags this error in drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:
ERROR: do not initialise globals to NULL
+char *amdgpu_disable_cu = NULL;
+char *amdgpu_virtual_display = NULL;
Fix this checkpatch error.
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Hamza Mahfooz <Hamza.Mahfooz@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
0 files changed, 0 insertions, 0 deletions