From: Emil Velikov Date: Sat, 18 Jul 2026 14:20:56 +0000 (+0100) Subject: testsuite: remove overly verbose logging X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=739640fe91c7c06830deffd515522862b328717f;p=thirdparty%2Fkmod.git testsuite: remove overly verbose logging The delete_module.c (LD_PRELOAD module) prints the result of the TC_DELETE_MODULE_RETCODES parsing. At the same time the init_module.c (and it's variant) don't bother. Glancing throughout, no other test uses LOG so let's drop the logging allowing us to garbage collect (hide really) the potentially conflicting macros. Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/450 Signed-off-by: Lucas De Marchi --- diff --git a/testsuite/delete_module.c b/testsuite/delete_module.c index 023f58a1..46fffb91 100644 --- a/testsuite/delete_module.c +++ b/testsuite/delete_module.c @@ -108,7 +108,6 @@ static struct mod *find_module(struct mod *_modules, const char *modname) static void init_retcodes(void) { const char *s; - struct mod *mod; if (!need_init) return; @@ -121,11 +120,6 @@ static void init_retcodes(void) } parse_retcodes(&modules, s); - - for (mod = modules; mod != NULL; mod = mod->next) { - LOG("Added module to test delete_module:\n"); - LOG("\tname=%s ret=%d errcode=%d\n", mod->name, mod->ret, mod->errcode); - } } static int remove_directory(const char *path)