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

Taylor, Clinton A clinton.a.taylor at intel.com
Wed Nov 6 22:09:38 UTC 2024


Reviewed-by: Clint Taylor <Clinton.A.Taylor at intel.com> 

-Clint

On Mon, 2024-11-04 at 22:18 -0800, Lucas De Marchi wrote:
> 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)
>  {
>  	/*


More information about the igt-dev mailing list