[PATCH i-g-t 1/9] lib/igt_kmod: Remove unused module_ref

Lucas De Marchi lucas.demarchi at intel.com
Tue Nov 5 06:18:37 UTC 2024


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

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 fb83f17c0..d031bfe18 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