summaryrefslogtreecommitdiff
path: root/lib/log
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-12-03 17:51:43 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2015-12-03 18:02:34 +0100
commite7978c5ab68b1dabfa886fa437646edfcf270b82 (patch)
treeb63de2eda6af3735c96a8e7eeac701bf0a1aac59 /lib/log
parentf40b3ba1e904f6c6a3e1264e6d734f558ec731d9 (diff)
downloadlvm2-e7978c5ab68b1dabfa886fa437646edfcf270b82.tar.gz
cleanup: drop log_suppress(2) usage
No longer need to use log_suppress(2) instance so dropped.
Diffstat (limited to 'lib/log')
-rw-r--r--lib/log/log.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/log/log.c b/lib/log/log.c
index fc52bddec..1c5ccd7c7 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -299,9 +299,6 @@ void print_log(int level, const char *file, int line, int dm_errno_or_class,
level = _LOG_FATAL;
}
- if (_log_suppress == 2)
- return;
-
if (level <= _LOG_ERR)
init_error_message_produced(1);