Remove now unneeded talloc ctx parameter from do_JoinConfig().
[ira/wip.git] / source3 / libnet / libnet_join.c
index 5301674f41863db61f0b8a0b721510e1327ab265..6edcdb89457d8fd6505d5bf84c2f4b3e4ad1cc98 100644 (file)
@@ -385,8 +385,7 @@ static WERROR do_unjoin_modify_vals_config(struct libnet_UnjoinCtx *r)
 }
 
 
 }
 
 
-static WERROR do_JoinConfig(TALLOC_CTX *mem_ctx,
-                           struct libnet_JoinCtx *r)
+static WERROR do_JoinConfig(struct libnet_JoinCtx *r)
 {
        WERROR werr;
 
 {
        WERROR werr;
 
@@ -491,7 +490,7 @@ WERROR libnet_Join(TALLOC_CTX *mem_ctx,
                }
        }
 
                }
        }
 
-       werr = do_JoinConfig(mem_ctx, r);
+       werr = do_JoinConfig(r);
        if (!W_ERROR_IS_OK(werr)) {
                return werr;
        }
        if (!W_ERROR_IS_OK(werr)) {
                return werr;
        }