]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ldb: remove uneeded type argument from DLIST_DEMOTE()
authorMichael Adam <obnox@samba.org>
Fri, 5 Feb 2016 10:53:11 +0000 (11:53 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 6 Feb 2016 20:48:17 +0000 (21:48 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/ldb/include/dlinklist.h

index 82fda195d6ff1d896bface13e13ff8b193ac4d59..34d4db93bd0634a56d503a739cce4e7b074ce28c 100644 (file)
@@ -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); \