summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 12:28:59 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 12:30:42 -0300
commit236f71eb94eb3dc5161bcd9310805ae6bd444ce0 (patch)
treea85cf377b2c2241dcae6533e656b7847a4b53ec7 /tools
parenta3dff304ca50cbfbe3f0e76ee49c439990932ed5 (diff)
downloadop-kernel-dev-236f71eb94eb3dc5161bcd9310805ae6bd444ce0.zip
op-kernel-dev-236f71eb94eb3dc5161bcd9310805ae6bd444ce0.tar.gz
perf tools: Remove unused DIE_IF macro
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/util.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index d0d50ce..1b06216 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -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));
OpenPOWER on IntegriCloud