From: Michael Adam Date: Fri, 5 Feb 2016 10:53:11 +0000 (+0100) Subject: ldb: remove uneeded type argument from DLIST_DEMOTE() X-Git-Tag: tevent-0.9.27~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1c5d662d4846a66f70d9a48b86fdda95264b30e;p=thirdparty%2Fsamba.git ldb: remove uneeded type argument from DLIST_DEMOTE() Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- diff --git a/lib/ldb/include/dlinklist.h b/lib/ldb/include/dlinklist.h index 82fda195d6f..34d4db93bd0 100644 --- a/lib/ldb/include/dlinklist.h +++ b/lib/ldb/include/dlinklist.h @@ -154,9 +154,8 @@ do { \ /* demote an element to the end of a list. - Note that 'type' is ignored */ -#define DLIST_DEMOTE(list, p, type) \ +#define DLIST_DEMOTE(list, p) \ do { \ DLIST_REMOVE(list, p); \ DLIST_ADD_END(list, p); \