]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] list: use list_replace_init() instead of list_splice_init()
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 23 Jun 2006 09:05:55 +0000 (02:05 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:43:07 +0000 (07:43 -0700)
commit626ab0e69d376fa07599af669af8ba92d58e87c1
treea995e0231e61fab63568bc7bade81dc20c1dae09
parent54e73770357142e297c916c7865f5fca7499f69c
[PATCH] list: use list_replace_init() instead of list_splice_init()

list_splice_init(list, head) does unneeded job if it is known that
list_empty(head) == 1.  We can use list_replace_init() instead.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mm/pageattr.c
block/ll_rw_blk.c
fs/aio.c
kernel/timer.c
kernel/workqueue.c
net/core/dev.c
net/core/link_watch.c