perf tools: Remove unused DIE_IF macro
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 236f71eb94eb3dc5161bcd9310805ae6bd444ce0 Gitweb: http://git.kernel.org/tip/236f71eb94eb3dc5161bcd9310805ae6bd444ce0 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Wed, 23 Mar 2016 12:28:59 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 23 Mar 2016 12:30:42 -0300
perf tools: Remove unused DIE_IF macro
Cc Adrian Hunter <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/util.h | 7 ------- 1 file changed, 7 deletions(-)
tools/perf/util/util.h +0 -7
@@ -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));