]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe: remove duplicate <kunit/test-bug.h> include
authorAnas Khan <anxkhn28@gmail.com>
Thu, 2 Jul 2026 11:28:20 +0000 (16:58 +0530)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 9 Jul 2026 10:09:31 +0000 (12:09 +0200)
xe_pci.c includes <kunit/test-bug.h> twice, separated only by the
<kunit/test.h> include. Drop the redundant second include; this is a
non-functional cleanup flagged by scripts/checkincludes.pl.

Fixes: 6cad22853cb8 ("drm/xe/kunit: Add stub to read_gmdid")
Signed-off-by: Anas Khan <anxkhn28@gmail.com>
Link: https://patch.msgid.link/20260702112820.34675-1-anxkhn28@gmail.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
(cherry picked from commit 84ed5b0a925721aaf069d36e18a99db966ff4e80)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/tests/xe_pci.c

index 9240aff779da3d16313cdd9640e1c3e7b272c74c..c2c686aed1cb8a6e857f94792073dc2226566f5f 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <kunit/test-bug.h>
 #include <kunit/test.h>
-#include <kunit/test-bug.h>
 #include <kunit/visibility.h>
 
 #define PLATFORM_CASE(platform__, graphics_step__)                                     \