Re: [PATCH 04/11] parse-events: Remove unused arg->dynarray.index

From: Steven Rostedt
Date: Mon Apr 23 2012 - 14:35:39 EST


On Mon, 2012-04-23 at 13:58 +0900, Namhyung Kim wrote:
> It seems index field of struct print_arg_dynarray is not used.
> Let's remove it.

Actually, the "non-use" looks like a bug. Where it is set to 0 (it
should be set to NULL), an 'arg' is allocated, but it looks to be what
index wants.

The array, may be allocated with a set size, and we may use this info
later.

Looks to be unfinished code, that I started but never got to finish.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/