diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2016-05-10 14:48:01 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-05-10 11:58:27 -0300 |
commit | 452e84012595d681f254a3a0d733fb0b18ffaf42 (patch) | |
tree | f601c801233d33d531f6f831fdfabb8b80344e01 /tools/perf/util/util.h | |
parent | 682f4f035e0fcffce511fe77a02a0f19f0996d70 (diff) | |
download | linux-452e84012595d681f254a3a0d733fb0b18ffaf42.tar.bz2 |
perf tools: Remove xrealloc and ALLOC_GROW
Remove unused xrealloc() and ALLOC_GROW() from libperf.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20160510054801.6158.6204.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r-- | tools/perf/util/util.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 88f607af1f47..7651633a8dc7 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -160,12 +160,6 @@ static inline char *gitstrchrnul(const char *s, int c) } #endif -/* - * Wrappers: - */ -void *xrealloc(void *ptr, size_t size) __attribute__((weak)); - - static inline void *zalloc(size_t size) { return calloc(1, size); |