summaryrefslogtreecommitdiffstats
path: root/include/debug.h
diff options
context:
space:
mode:
authorOndrej Oprala2014-03-13 11:53:31 +0100
committerOndrej Oprala2014-03-13 11:53:31 +0100
commit274228fecc76877224501177b46c19d9715a6ada (patch)
treeeb7230d86ec700a2fac47dcf343fe968f6ac8f09 /include/debug.h
parentlibfdisk: use include/debug.h (diff)
downloadkernel-qcow2-util-linux-274228fecc76877224501177b46c19d9715a6ada.tar.gz
kernel-qcow2-util-linux-274228fecc76877224501177b46c19d9715a6ada.tar.xz
kernel-qcow2-util-linux-274228fecc76877224501177b46c19d9715a6ada.zip
clean up redundant macros and defines
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Diffstat (limited to 'include/debug.h')
-rw-r--r--include/debug.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/debug.h b/include/debug.h
index df0174834..dfb640f6b 100644
--- a/include/debug.h
+++ b/include/debug.h
@@ -7,9 +7,6 @@
#ifndef UTIL_LINUX_DEBUG_H
#define UTIL_LINUX_DEBUG_H
-#define _UL_DEBUG
-#ifdef _UL_DEBUG
-
#include <stdarg.h>
#define UL_DEBUG_DEFINE_MASK(m) int m ## _debug_mask
@@ -66,9 +63,4 @@ ul_debugobj(void *handler, const char *mesg, ...)
fputc('\n', stderr);
}
-#else /* !_UL_DEBUG */
-# define __UL_DBG(l, p, m, x) do { ; } while (0)
-#define __UL_INIT_DEBUG(lib, pref, mask, env) do { ; } while (0)
-#endif
-
#endif /* UTIL_LINUX_DEBUG_H */