Skip to contentSkip to conversation

Remove duplicate list_move

PATCH New Alex Williamson 1 participant 1 message Mar 28, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove duplicate list_move

We had our own copy of list_move() in the ia64 tree. Now that list.h
has been updated to a newer upstream version, it's no longer necessary. Patch against the staging tree, cset 14630. Thanks,

Alex

---

xen/include/asm-ia64/linux-xen/asm/iosapic.h +0 -11
diff -r b6eaca0bcee1 xen/include/asm-ia64/linux-xen/asm/iosapic.h
@@ -109,17 +109,6 @@ extern void __devinit map_iosapic_to_nod
 #endif
 
 #ifdef XEN
-/* Move to common code later */
-/**
- * list_move - delete from one list and add as another's head
- * @list: the entry to move
- * @head: the head that will precede our entry
- */
-static inline void list_move(struct list_head *list, struct list_head *head)
-{
-        __list_del(list->prev, list->next);
-        list_add(list, head);
-}
 
 #define move_irq(x)