From a93ad7490c5522095d433590b25ae83ccfe529c3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 28 Aug 2006 12:15:13 +0000 Subject: r17882: merge change from samba3 metze (This used to be commit eca7085850ba8475cc01dda1911c4222dd14c1a6) --- source4/include/dlinklist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit