aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2016-05-10 14:48:01 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-05-10 11:58:27 -0300
commit452e84012595d681f254a3a0d733fb0b18ffaf42 (patch)
treef601c801233d33d531f6f831fdfabb8b80344e01 /tools/perf/util/util.h
parentperf help: Do not use ALLOC_GROW in add_cmd_list (diff)
downloadlinux-dev-452e84012595d681f254a3a0d733fb0b18ffaf42.tar.xz
linux-dev-452e84012595d681f254a3a0d733fb0b18ffaf42.zip
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.h6
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);