Re: [PATCH v2] Breaks the redundant loop in kernel/marker.c

From: Ingo Molnar
Date: Wed Oct 22 2008 - 05:16:14 EST



* Zhaolei <zhaolei@xxxxxxxxxxxxxx> wrote:

> Because e->name is unique in list, we don't need to continue the iteration
> after matched.
>
> Impact: cleanup, no functionality changed
>
> Signed-off-by: Zhao Lei <zhaolei@xxxxxxxxxxxxxx>
> ---
> kernel/marker.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)

applied to tip/tracing/markers, thanks! (also added Mathieu's ack)

Ingo
--
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/