From: Namhyung Kim Date: Tue, 24 Apr 2012 01:29:44 +0000 (+0900) Subject: tools lib traceevent: Cleanup realloc use X-Git-Tag: v3.6-rc1~167^2~7^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6ced60fb6c0ee115982157457c47e48802d6e1d;p=pandora-kernel.git tools lib traceevent: Cleanup realloc use The if branch is completely unnecessary since 'realloc' can handle NULL pointers for the first parameter. This patch is just an adoption of Ulrich Drepper's recent patch on perf tools. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ulrich Drepper Link: http://lkml.kernel.org/r/1335230984-7613-1-git-send-email-namhyung.kim@lge.com Signed-off-by: Steven Rostedt Signed-off-by: Namhyung Kim --- Reading git-diff-tree failed