projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6465874
)
[SPARC64]: Use shorter list_splice_init() for brevity.
author
Robert P. J. Day
<rpjday@crashcourse.ca>
Mon, 24 Mar 2008 05:48:29 +0000
(22:48 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 24 Mar 2008 05:48:29 +0000
(22:48 -0700)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/ds.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc64/kernel/ds.c
b/arch/sparc64/kernel/ds.c
index bd76482077be66aa3e9e1d6e22d3523a34e4597a..edb74f5a1186ebd82f973378e961de4a7e64d7fe 100644
(file)
--- a/
arch/sparc64/kernel/ds.c
+++ b/
arch/sparc64/kernel/ds.c
@@
-972,8
+972,7
@@
static void process_ds_work(void)
LIST_HEAD(todo);
spin_lock_irqsave(&ds_lock, flags);
- list_splice(&ds_work_list, &todo);
- INIT_LIST_HEAD(&ds_work_list);
+ list_splice_init(&ds_work_list, &todo);
spin_unlock_irqrestore(&ds_lock, flags);
list_for_each_entry_safe(qp, tmp, &todo, list) {