Skip to contentSkip to conversation

drm/amdgpu: remove duplicate include

PATCH In review [email protected] 2 participants 2 messages Jan 15, 2022 – Jan 17, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +0 -1
index 953d68b26f0b..ebd40d1a8aff 100644
@@ -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

maintainer Acked-by on v1 1/1
#1 lore raw

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.

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
index 953d68b26f0b..ebd40d1a8aff 100644
@@ -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