2022-06-24 01:18:51

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] drm/amdgpu: Remove duplicated include in amdgpu_dm.c

Fix following includecheck warning:
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c: soc15_common.h is included more than once.

Signed-off-by: Yang Li <[email protected]>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index c004cbe1e1ee..2bb69501b5f8 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -94,8 +94,6 @@
#include "soc15_common.h"
#include "vega10_ip_offset.h"

-#include "soc15_common.h"
-
#include "gc/gc_11_0_0_offset.h"
#include "gc/gc_11_0_0_sh_mask.h"

--
2.20.1.7.g153144c