dlist: remove unneeded type argument from DLIST_ADD_END()
[kai/samba-autobuild/.git] / source4 / dsdb / kcc / kcc_drs_replica_info.c
index ef64f82cc0dcb8640e5c8b76206dc7e14911eed8..3f16de8cb6d59b89c21f129fc577c8e1fc979e98 100644 (file)
@@ -468,7 +468,7 @@ static WERROR get_ncs_list(TALLOC_CTX *mem_ctx,
                nc_list_elem = talloc_zero(mem_ctx, struct ncList);
                W_ERROR_HAVE_NO_MEMORY(nc_list_elem);
                nc_list_elem->dn = nc_dn;
-               DLIST_ADD_END(*nc_list, nc_list_elem, struct ncList*);
+               DLIST_ADD_END(*nc_list, nc_list_elem);
        } else {
                /* ncs := getNCs() from ldb database.
                 * getNCs() must return an array containing