perf tools: Remove unused DIE_IF macro
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Mar 2016 15:28:59 +0000 (12:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Mar 2016 15:30:42 +0000 (12:30 -0300)
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-elxg25jd4dhwod4wqbko87qh@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/util.h

index d0d50cef8b2af31703c7d298f68d93b68326c3c5..1b06216d31dfac2d37a2d8a448757756d10b8d71 100644 (file)
@@ -140,13 +140,6 @@ extern void warning(const char *err, ...) __attribute__((format (printf, 1, 2)))
 
 #include "../../../include/linux/stringify.h"
 
-#define DIE_IF(cnd)    \
-       do { if (cnd)   \
-               die(" at (" __FILE__ ":" __stringify(__LINE__) "): "    \
-                   __stringify(cnd) "\n");                             \
-       } while (0)
-
-
 extern void set_die_routine(void (*routine)(const char *err, va_list params) NORETURN);
 extern void set_warning_routine(void (*routine)(const char *err, va_list params));