perf tools: Simplify event_read_id exit path
authorBorislav Petkov <bp@amd64.org>
Wed, 21 Mar 2012 14:15:47 +0000 (15:15 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Mar 2012 18:10:42 +0000 (15:10 -0300)
commit842f07f6127afa48cca6b2ce9021b985e8eb9068
treef9354ae650cdc2f7ced7cf99e10063b94484fb18
parent0d09eb7a9a2ca4d7ed32f7b440bea78c0622814a
perf tools: Simplify event_read_id exit path

We're freeing the token in any case so simplify the exit path by
unifying it.

No functional change.

Signed-off-by: Borislav Petkov <bp@amd64.org>
Link: http://lkml.kernel.org/r/1332339347-21342-1-git-send-email-bp@amd64.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/trace-event-parse.c