markers: break the redundant loop in kernel/marker.c
authorZhaolei <zhaolei@cn.fujitsu.com>
Wed, 22 Oct 2008 03:38:01 +0000 (11:38 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 27 Oct 2008 12:02:23 +0000 (13:02 +0100)
commit5d9881ea1440f046ee851bbaa2a2962543336a11
tree28b3797d8bf356f288b4f9025925e617f599ac9c
parent4de62748e69c31fc4fd5bc43b73e9cf60a17ec53
markers: break the redundant loop in kernel/marker.c

Impact: cleanup, no functionality changed

Because e->name is unique in list, we don't need to continue the iteration
after matched.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/marker.c