diff options
author | Ulrich Drepper <drepper@akkadia.org> | 2012-04-23 15:04:29 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-04-23 20:33:05 +0200 |
commit | f3054c778e367d624ca0dfe68b8498b5c463a9d1 (patch) | |
tree | 2e9c84f9ee3e061eb81475c00bab57a5df3f5275 /tools/perf/builtin-test.c | |
parent | Merge tag 'v3.4-rc2' into perf/core (diff) | |
download | linux-f3054c778e367d624ca0dfe68b8498b5c463a9d1.tar.xz linux-f3054c778e367d624ca0dfe68b8498b5c463a9d1.zip |
perf tools: Cleanup realloc use
The if branch is completely unnecessary since 'realloc' handles NULL
pointers for the first parameter.
This is really only a cleanup and submitted mainly to prevent
proliferation of bad practices.
Signed-off-by: Ulrich Drepper <drepper@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/201204231304.q3ND4TFe020805@drepperk.user.openhosting.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions