]> err.no Git - linux-2.6/commit
[CONNECTOR]: add a missing break in cn_netlink_send()
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 4 Jan 2008 09:54:38 +0000 (01:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:00:37 +0000 (15:00 -0800)
commitfd00eeccd92b7b4b5ca95bd988c195efb4e5ec29
treed2cd16e16c107f9cebc8a329c37e982ed9325930
parent74feb6e84e189707ca1324a92f7206617efbd735
[CONNECTOR]: add a missing break in cn_netlink_send()

Each entry in the list has a unique id, so just break out of the
loop if the matched id is found.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/connector/connector.c