From a1c5d662d4846a66f70d9a48b86fdda95264b30e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 5 Feb 2016 11:53:11 +0100 Subject: [PATCH] ldb: remove uneeded type argument from DLIST_DEMOTE() Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- lib/ldb/include/dlinklist.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); \ -- 2.47.3