Re: [PATCH] tools lib traceevent: remove redundant check from process_dynamic_array

2012-12-21 Thread Namhyung Kim
On Thu, Dec 20, 2012 at 02:11:13PM -0500, Sasha Levin wrote: > We check twice that 'field' is non-NULL, no need to do that. > > Signed-off-by: Sasha Levin > --- > tools/lib/traceevent/event-parse.c | 5 - > 1 file changed, 5 deletions(-) > > diff --git a/tools/lib/traceevent/event-parse.c

[PATCH] tools lib traceevent: remove redundant check from process_dynamic_array

2012-12-20 Thread Sasha Levin
We check twice that 'field' is non-NULL, no need to do that. Signed-off-by: Sasha Levin --- tools/lib/traceevent/event-parse.c | 5 - 1 file changed, 5 deletions(-) diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c index 5a824e3..f7dc053 100644 --- a/tool