]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: do not initialise global variables to 0 or NULL
authorDeepak R Varma <mh12gx2825@gmail.com>
Mon, 2 Nov 2020 18:41:47 +0000 (00:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Nov 2020 22:09:36 +0000 (17:09 -0500)
commit41e2a736833e6a18be81cc25448485010991c498
tree81ece52be6daf639ec8dba5ad254739c1baef5ed
parent1866958bb53c1c6c8bf24703d2ff5e63e49b4879
drm/amdgpu: do not initialise global variables to 0 or NULL

Initializing global variable to 0 or NULL is not necessary and should
be avoided. Issue reported by checkpatch script as:
ERROR: do not initialise globals to 0 (or NULL).

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/atom.c