summaryrefslogtreecommitdiffstats
path: root/include/net/dn.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2006-06-23 11:05:55 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 16:43:07 +0200
commit626ab0e69d376fa07599af669af8ba92d58e87c1 (patch)
treea995e0231e61fab63568bc7bade81dc20c1dae09 /include/net/dn.h
parent[PATCH] list: introduce list_replace() helper (diff)
downloadlinux-626ab0e69d376fa07599af669af8ba92d58e87c1.tar.xz
linux-626ab0e69d376fa07599af669af8ba92d58e87c1.zip
[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>
Diffstat (limited to 'include/net/dn.h')
0 files changed, 0 insertions, 0 deletions