From: Robert P. J. Day Date: Mon, 24 Mar 2008 05:48:29 +0000 (-0700) Subject: [SPARC64]: Use shorter list_splice_init() for brevity. X-Git-Tag: v2.6.25-rc7~24^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1f17131bb46065141069dee9fbcc4bdd0e9c2a2e;p=linux-2.6-omap-h63xx.git [SPARC64]: Use shorter list_splice_init() for brevity. Signed-off-by: Robert P. J. Day Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/kernel/ds.c b/arch/sparc64/kernel/ds.c index bd76482077b..edb74f5a118 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) {