[igt-dev] [PATCH i-g-t v2 1/5] lib/amdgpu: Remove unused struct

Aurabindo Pillai aurabindo.pillai at amd.com
Fri Nov 3 18:22:26 UTC 2023


dim2d has no references within AMDGPU tests, so remove it

Signed-off-by: Aurabindo Pillai <aurabindo.pillai at amd.com>
---
 lib/igt_amd.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/igt_amd.c b/lib/igt_amd.c
index 84c6d7545..f0fbe97ef 100644
--- a/lib/igt_amd.c
+++ b/lib/igt_amd.c
@@ -45,11 +45,6 @@
 #define Y6 64
 #define Y7 128
 
-struct dim2d
-{
-    int w;
-    int h;
-};
 
 uint32_t igt_amd_create_bo(int fd, uint64_t size)
 {
-- 
2.39.2



More information about the igt-dev mailing list