aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaura Abbott <labbott@fedoraproject.org>2015-09-28 15:39:13 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2015-09-30 15:17:03 -0300
commit50f43ce2f66f02cec44968cac5aa5119ce5cbb81 (patch)
treeb16ccd74a253c3f5a8f0020c30a9d7c125929a4a
parent16d863c3175fe5934d3fca4973c09b45c12bf183 (diff)
downloadkmod-50f43ce2f66f02cec44968cac5aa5119ce5cbb81.tar.gz
depmod: Remove unprinted debug messages
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.
-rw-r--r--tools/depmod.c5
1 files changed, 1 insertions, 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;
}