[LTP] [PATCH v8 2/4] tst_kconfig: load and unload kernel modules for CONFIG_*=m

Li Wang li.wang@linux.dev
Thu Nov 26 04:12:36 CET 2026


> Hi!
> > +void tst_kconfig_module_unload(void)
> > +{
> > +	const char *name;
> > +
> > +	if (!loaded_module_count)
> > +		return;
> 
> This if is not really needed here.

Good point, patchset merged with your suggetion, thanks!

-- 
Regards,
Li Wang


More information about the ltp mailing list