OSDN Git Service

drm/i915/selftests: remove duplicate include in mock_region.c
authorRan Jianping <ran.jianping@zte.com.cn>
Tue, 19 Oct 2021 09:02:05 +0000 (09:02 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 20 Oct 2021 07:55:05 +0000 (08:55 +0100)
'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@zte.com.cn>
Signed-off-by: Ran Jianping <ran.jianping@zte.com.cn>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211019090205.1003458-1-ran.jianping@zte.com.cn
drivers/gpu/drm/i915/selftests/mock_region.c

index efa86df..7579300 100644 (file)
@@ -6,8 +6,6 @@
 #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"
 #include "intel_region_ttm.h"