diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/include/dlinklist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/include/dlinklist.h b/source4/include/dlinklist.h index 176c138aaf..527b211cd3 100644 --- a/source4/include/dlinklist.h +++ b/source4/include/dlinklist.h @@ -46,7 +46,7 @@ do { \ if ((p)->prev) (p)->prev->next = (p)->next; \ if ((p)->next) (p)->next->prev = (p)->prev; \ } \ - if ((p) && ((p) != (list))) (p)->next = (p)->prev = NULL; \ + if ((p) != (list)) (p)->next = (p)->prev = NULL; \ } while (0) /* promote an element to the top of the list */ |