]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - include/linux/rculist.h
power: tps80031: battery-charger: register as mfd sub device
[linux-2.6.git] / include / linux / rculist.h
index e3beb315517a7a06dea6db0b2d0c8c9aee7ce9e4..d079290843a93f9b508f9d05cd9489ea263dc380 100644 (file)
@@ -183,7 +183,7 @@ static inline void list_splice_init_rcu(struct list_head *list,
        struct list_head *last = list->prev;
        struct list_head *at = head->next;
 
-       if (list_empty(head))
+       if (list_empty(list))
                return;
 
        /* "first" and "last" tracking list, so initialize it. */