From: Ulrich Drepper Date: Mon, 23 Apr 2012 13:04:29 +0000 (-0400) Subject: perf tools: Cleanup realloc use X-Git-Tag: v3.5-rc1~141^2~20^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3054c778e367d624ca0dfe68b8498b5c463a9d1;p=pandora-kernel.git 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 Cc: David Ahern Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Robert Richter Cc: Stephane Eranian Link: http://lkml.kernel.org/r/201204231304.q3ND4TFe020805@drepperk.user.openhosting.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed