drm/amdgpu: remove duplicate include
Subsystems (2)
PATCH 1/1 drm/amdgpu: remove duplicate include
From: Changcheng Deng <[email protected]>
'drm/drm_drv.h' included in 'amdgpu_ttm.c' is duplicated. It is also
included on 53 line.
Reported-by Zeal Robot <[email protected]>
Signed-off-by Changcheng Deng <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +0 -1
@@ -43,7 +43,6 @@#include <linux/sizes.h> #include <linux/module.h> -#include <drm/drm_drv.h> #include <drm/ttm/ttm_bo_api.h> #include <drm/ttm/ttm_bo_driver.h> #include <drm/ttm/ttm_placement.h>
--
2.25.1
Am 15.01.22 um 08:02 schrieb [email protected]:
Quoted 7 lines
From: Changcheng Deng <[email protected]>
'
drm/drm_drv.h' included in 'amdgpu_ttm.c' is duplicated. It is also
included on 53 line.Reported-by Zeal Robot <[email protected]>Signed-off-by Changcheng Deng <[email protected]>
Acked-by Christian König <[email protected]>
Quoted 19 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +0
-2@@ -43,7 +43,6 @@#include <linux/sizes.h> #include <linux/module.h> -#include <drm/drm_drv.h> #include <drm/ttm/ttm_bo_api.h> #include <drm/ttm/ttm_bo_driver.h> #include <drm/ttm/ttm_placement.h> --2.25.1