]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/list_debug.c
lists: remove a redundant conditional definition of list_add()
[mirror_ubuntu-artful-kernel.git] / lib / list_debug.c
index 4350ba9655bd182c966c1fc40909ace292c8a4a6..45c03fd608ddbf39acd06b1ac4759fba61de6b02 100644 (file)
@@ -39,20 +39,6 @@ void __list_add(struct list_head *new,
 }
 EXPORT_SYMBOL(__list_add);
 
-/**
- * list_add - add a new entry
- * @new: new entry to be added
- * @head: list head to add it after
- *
- * Insert a new entry after the specified head.
- * This is good for implementing stacks.
- */
-void list_add(struct list_head *new, struct list_head *head)
-{
-       __list_add(new, head, head->next);
-}
-EXPORT_SYMBOL(list_add);
-
 /**
  * list_del - deletes entry from list.
  * @entry: the element to delete from the list.