2024-01-03 01:20:24

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] drm/xe/kunit: Remove duplicated include in xe_pci.c

The header files test-bug.h is included twice in xe_pci.c,
so one inclusion can be removed.

./drivers/gpu/drm/xe/tests/xe_pci.c: kunit/test-bug.h is included more than once.

Signed-off-by: Yang Li <[email protected]>
---
drivers/gpu/drm/xe/tests/xe_pci.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/tests/xe_pci.c b/drivers/gpu/drm/xe/tests/xe_pci.c
index 602793644f61..6d53f9fd17e4 100644
--- a/drivers/gpu/drm/xe/tests/xe_pci.c
+++ b/drivers/gpu/drm/xe/tests/xe_pci.c
@@ -9,7 +9,6 @@

#include <kunit/test-bug.h>
#include <kunit/test.h>
-#include <kunit/test-bug.h>
#include <kunit/visibility.h>

struct kunit_test_data {
--
2.20.1.7.g153144c