Commit 1f17131b authored by Robert P. J. Day's avatar Robert P. J. Day Committed by David S. Miller
Browse files

[SPARC64]: Use shorter list_splice_init() for brevity.

Signed-off-by: default avatarRobert P. J. Day <>
Signed-off-by: default avatarDavid S. Miller <>
parent 64658743
...@@ -972,8 +972,7 @@ static void process_ds_work(void) ...@@ -972,8 +972,7 @@ static void process_ds_work(void)
LIST_HEAD(todo); LIST_HEAD(todo);
spin_lock_irqsave(&ds_lock, flags); spin_lock_irqsave(&ds_lock, flags);
list_splice(&ds_work_list, &todo); list_splice_init(&ds_work_list, &todo);
spin_unlock_irqrestore(&ds_lock, flags); spin_unlock_irqrestore(&ds_lock, flags);
list_for_each_entry_safe(qp, tmp, &todo, list) { list_for_each_entry_safe(qp, tmp, &todo, list) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment