In between the start of the program and the call to log_setup_kmod_log,
the only messages that will be printed are the ones at or above the
global default level. Debug messages in this range will never be printed
so remove them.
---
tools/depmod.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/tools/depmod.c b/tools/depmod.c
index 2a08b6e..348735f 100644
--- a/tools/depmod.c
+++ b/tools/depmod.c
@@ -2498,11 +2498,8 @@ static int do_depmod(int argc, char *argv[])
if (out == stdout)
goto done;
/* ignore up-to-date errors (< 0) */
- if (depfile_up_to_date(cfg.dirname) == 1) {
- DBG("%s/modules.dep is up to date!\n", cfg.dirname);
+ if (depfile_up_to_date(cfg.dirname) == 1)
goto done;
- }
- DBG("%s/modules.dep is outdated, do -a\n", cfg.dirname);
all = 1;
}
--
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html