Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e73ef9acfd30f36bf7c60237ecffe7bbca8068d6
Commit:     e73ef9acfd30f36bf7c60237ecffe7bbca8068d6
Parent:     cf8f68aa76e8e12f9dcbba3ffe61fb9f2a3a0c2b
Author:     Denis Cheng <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 2 19:30:01 2008 -0700
Committer:  Dan Williams <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 10:12:17 2008 -0700

    iop-adma: use LIST_HEAD instead of LIST_HEAD_INIT
    
    these three list_head are all local variables, but can also use LIST_HEAD.
    
    Signed-off-by: Denis Cheng <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Dan Williams <[EMAIL PROTECTED]>
---
 drivers/dma/iop-adma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
index e5c62b7..b011b5a 100644
--- a/drivers/dma/iop-adma.c
+++ b/drivers/dma/iop-adma.c
@@ -284,7 +284,7 @@ iop_adma_alloc_slots(struct iop_adma_chan *iop_chan, int 
num_slots,
                        int slots_per_op)
 {
        struct iop_adma_desc_slot *iter, *_iter, *alloc_start = NULL;
-       struct list_head chain = LIST_HEAD_INIT(chain);
+       LIST_HEAD(chain);
        int slots_found, retry = 0;
 
        /* start search from the last allocated descrtiptor
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to