projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm/nouveau/fifo/gf100: don't attempt recovery of unknown mmu engines
[cascardo/linux.git]
/
lib
/
list_debug.c
diff --git
a/lib/list_debug.c
b/lib/list_debug.c
index
3345a08
..
3859bf6
100644
(file)
--- a/
lib/list_debug.c
+++ b/
lib/list_debug.c
@@
-12,13
+12,6
@@
#include <linux/kernel.h>
#include <linux/rculist.h>
#include <linux/kernel.h>
#include <linux/rculist.h>
-static struct list_head force_poison;
-void list_force_poison(struct list_head *entry)
-{
- entry->next = &force_poison;
- entry->prev = &force_poison;
-}
-
/*
* Insert a new entry between two known consecutive entries.
*
/*
* Insert a new entry between two known consecutive entries.
*
@@
-30,8
+23,6
@@
void __list_add(struct list_head *new,
struct list_head *prev,
struct list_head *next)
{
struct list_head *prev,
struct list_head *next)
{
- WARN(new->next == &force_poison || new->prev == &force_poison,
- "list_add attempted on force-poisoned entry\n");
WARN(next->prev != prev,
"list_add corruption. next->prev should be "
"prev (%p), but was %p. (next=%p).\n",
WARN(next->prev != prev,
"list_add corruption. next->prev should be "
"prev (%p), but was %p. (next=%p).\n",