Re: drm/i915: remove duplicate include in mock_region.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/10/2021 09:04, Ran Jianping wrote:
From: ran jianping <ran.jianping@xxxxxxxxxx>

'drm/ttm/ttm_placement.h' included in
'drivers/gpu/drm/i915/selftests/mock_region.c' is duplicated.
It is also included on the 9 line.

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: ran jianping <ran.jianping@xxxxxxxxxx>

Pushed to drm-intel-gt-next. Thanks.

---
  drivers/gpu/drm/i915/selftests/mock_region.c | 2 --
  1 file changed, 2 deletion(-)

diff --git a/drivers/gpu/drm/i915/selftests/mock_region.c b/drivers/gpu/drm/i915/selftests/mock_region.c
index efa86dffe3c6..b6747b3eeac5 100644
--- a/drivers/gpu/drm/i915/selftests/mock_region.c
+++ b/drivers/gpu/drm/i915/selftests/mock_region.c
@@ -6,7 +6,5 @@
  #include <drm/ttm/ttm_placement.h>
  #include <linux/scatterlist.h>
-#include <drm/ttm/ttm_placement.h>
-
  #include "gem/i915_gem_region.h"
  #include "intel_memory_region.h"




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux