summaryrefslogtreecommitdiff
path: root/libudev/libudev.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-09 19:03:39 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-09 19:03:39 +0200
commit119f66fc36b4f5164fb4a9ece247938e97609a05 (patch)
treea658a124eeaa657132bbeb58b5b12a462a4e3c11 /libudev/libudev.c
parent12bc9c54f23a37b2dc1d2965ee452d76bd2b6a37 (diff)
libudev: call log functions conditionally
Diffstat (limited to 'libudev/libudev.c')
-rw-r--r--libudev/libudev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libudev/libudev.c b/libudev/libudev.c
index a9baa70799..6645298544 100644
--- a/libudev/libudev.c
+++ b/libudev/libudev.c
@@ -41,9 +41,6 @@ void udev_log(struct udev *udev,
{
va_list args;
- if (priority > udev->log_priority)
- return;
-
va_start(args, format);
udev->log_fn(udev, priority, file, line, fn, format, args);
va_end(args);