diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-03-27 17:58:47 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-03-31 15:18:44 +0000 |
| commit | e86c30e951b50301fbc80e0ba7f6ffdc16e4fe85 (patch) | |
| tree | 126384549cdaa7cc3dab7e3f8dd4321bbf33cf63 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: add GMC ip block for GC 9.4.3 (diff) | |
| download | kernel-e86c30e951b50301fbc80e0ba7f6ffdc16e4fe85.tar.gz kernel-e86c30e951b50301fbc80e0ba7f6ffdc16e4fe85.zip | |
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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Mario Limonciello <[email protected]>
Cc: Hamza Mahfooz <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
