Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-7
-7
tools/perf/util/util.h
··· 140 140 141 141 #include "../../../include/linux/stringify.h" 142 142 143 - #define DIE_IF(cnd) \ 144 - do { if (cnd) \ 145 - die(" at (" __FILE__ ":" __stringify(__LINE__) "): " \ 146 - __stringify(cnd) "\n"); \ 147 - } while (0) 148 - 149 - 150 143 extern void set_die_routine(void (*routine)(const char *err, va_list params) NORETURN); 151 144 extern void set_warning_routine(void (*routine)(const char *err, va_list params)); 152 145