diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-03-23 10:15:28 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-04-18 17:55:30 +0200 |
commit | e351c4d069254b1267b66a3b101ece7547178485 (patch) | |
tree | 904759b4d4ccfef945959930665d50cd9362c810 /drivers/ieee1394/ohci1394.c | |
parent | b1ce1fd778997b3313599a2561bcbd42a34bfb56 (diff) | |
download | kernel_samsung_tuna-e351c4d069254b1267b66a3b101ece7547178485.zip kernel_samsung_tuna-e351c4d069254b1267b66a3b101ece7547178485.tar.gz kernel_samsung_tuna-e351c4d069254b1267b66a3b101ece7547178485.tar.bz2 |
ieee1394: Use shorter list_splice_init() for brevity.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/ohci1394.c')
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index 0808bae..4665a6f 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c @@ -2089,10 +2089,8 @@ static void dma_trm_reset(struct dma_trm_ctx *d) spin_lock_irqsave(&d->lock, flags); - list_splice(&d->fifo_list, &packet_list); - list_splice(&d->pending_list, &packet_list); - INIT_LIST_HEAD(&d->fifo_list); - INIT_LIST_HEAD(&d->pending_list); + list_splice_init(&d->fifo_list, &packet_list); + list_splice_init(&d->pending_list, &packet_list); d->branchAddrPtr = NULL; d->sent_ind = d->prg_ind; |