[CI 1/9] lib/igt_kmod: Remove unused module_ref

Lucas De Marchi lucas.demarchi at intel.com
Tue Nov 19 05:40:00 UTC 2024


This is unused since commit 03706cd84099 ("lib/igt_kmod: remove the
conditional audio removal code"). Nuke it.

Reviewed-by: Clint Taylor <Clinton.A.Taylor at intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
 lib/igt_kmod.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
index 87036d06c..dc6b11c87 100644
--- a/lib/igt_kmod.c
+++ b/lib/igt_kmod.c
@@ -593,14 +593,6 @@ static int igt_always_unload_audio_driver(char **who)
 	return 0;
 }
 
-struct module_ref {
-	char *name;
-	unsigned long mem;
-	unsigned int ref_count;
-	unsigned int num_required;
-	unsigned int *required_by;
-};
-
 int igt_audio_driver_unload(char **who)
 {
 	/*
-- 
2.47.0



More information about the igt-dev mailing list