s3:idmap_rid: remove unused talloc context arg from idmap_rid_sid_to_id()
authorMichael Adam <obnox@samba.org>
Tue, 22 Jun 2010 10:31:41 +0000 (12:31 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 23 Jun 2010 10:40:38 +0000 (12:40 +0200)
source3/winbindd/idmap_rid.c

index 5b7073c1d15a157a6d994756de57645503b15868..f2b0609f50087f91b397f8ac2549c085d1ff07c1 100644 (file)
@@ -136,7 +136,7 @@ static NTSTATUS idmap_rid_id_to_sid(struct idmap_rid_context *ctx, struct id_map
  Single sid to id lookup function. 
 **********************************/
 
-static NTSTATUS idmap_rid_sid_to_id(TALLOC_CTX *memctx, struct idmap_rid_context *ctx, struct id_map *map)
+static NTSTATUS idmap_rid_sid_to_id(struct idmap_rid_context *ctx, struct id_map *map)
 {
        uint32_t rid;
 
@@ -218,7 +218,7 @@ static NTSTATUS idmap_rid_sids_to_unixids(struct idmap_domain *dom, struct id_ma
 
        for (i = 0; ids[i]; i++) {
 
-               ret = idmap_rid_sid_to_id(ctx, ridctx, ids[i]);
+               ret = idmap_rid_sid_to_id(ridctx, ids[i]);
 
                if (( ! NT_STATUS_IS_OK(ret)) &&
                    ( ! NT_STATUS_EQUAL(ret, NT_STATUS_NONE_MAPPED))) {