diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/dlinklist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/dlinklist.h b/source3/include/dlinklist.h index c856aaa762..daec7640e4 100644 --- a/source3/include/dlinklist.h +++ b/source3/include/dlinklist.h @@ -46,7 +46,7 @@ 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; \ } /* promote an element to the top of the list */ |