idmap-autorid: Remove an unused parameter
authorVolker Lendecke <vl@samba.org>
Tue, 8 Mar 2011 20:36:54 +0000 (21:36 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 18 Mar 2011 14:46:36 +0000 (15:46 +0100)
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
source3/winbindd/idmap_autorid.c

index 45f61f04b341dc60bb821dc7ec93b135a0dc96db..786bdfc5f1003f3624153f98e32bb3a297bf37e1 100644 (file)
@@ -188,8 +188,7 @@ static NTSTATUS idmap_autorid_id_to_sid(TALLOC_CTX * memctx,
  Single sid to id lookup function.
 **********************************/
 
-static NTSTATUS idmap_autorid_sid_to_id(TALLOC_CTX * memctx,
-                                       struct autorid_global_config *global,
+static NTSTATUS idmap_autorid_sid_to_id(struct autorid_global_config *global,
                                        struct autorid_domain_config *domain,
                                        struct id_map *map)
 {
@@ -330,7 +329,7 @@ static NTSTATUS idmap_autorid_sids_to_unixids(struct idmap_domain *dom,
                        goto failure;
                }
 
-               ret = idmap_autorid_sid_to_id(ctx, global, &domaincfg, ids[i]);
+               ret = idmap_autorid_sid_to_id(global, &domaincfg, ids[i]);
 
                if ((!NT_STATUS_IS_OK(ret)) &&
                    (!NT_STATUS_EQUAL(ret, NT_STATUS_NONE_MAPPED))) {