diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-03-24 06:48:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-24 06:48:29 +0100 |
commit | 1f17131bb46065141069dee9fbcc4bdd0e9c2a2e (patch) | |
tree | 54de502e210e0b09b9be2739a7286965956cf1dd /arch/sparc64/kernel/ds.c | |
parent | [SPARC64]: Remove most limitations to kernel image size. (diff) | |
download | linux-1f17131bb46065141069dee9fbcc4bdd0e9c2a2e.tar.xz linux-1f17131bb46065141069dee9fbcc4bdd0e9c2a2e.zip |
[SPARC64]: Use shorter list_splice_init() for brevity.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | arch/sparc64/kernel/ds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/ds.c b/arch/sparc64/kernel/ds.c index bd76482077be..edb74f5a1186 100644 --- 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) { |