diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-11-09 12:01:21 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-11-27 18:24:45 +0100 |
commit | 42edc16e57e7c4a6290a7dba437cf2e5e99316b6 (patch) | |
tree | a96b98bfd8d97d875c2cd495b85366003c0fae2d /src | |
parent | 28c60454a817db582caae600060def79d1bfed75 (diff) | |
download | sssd-42edc16e57e7c4a6290a7dba437cf2e5e99316b6.tar.gz sssd-42edc16e57e7c4a6290a7dba437cf2e5e99316b6.tar.xz sssd-42edc16e57e7c4a6290a7dba437cf2e5e99316b6.zip |
Remove unused parameter from sdap_save_netgroup
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/sdap_async_netgroups.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/providers/ldap/sdap_async_netgroups.c b/src/providers/ldap/sdap_async_netgroups.c index 710e6c78a..217c2c5ed 100644 --- a/src/providers/ldap/sdap_async_netgroups.c +++ b/src/providers/ldap/sdap_async_netgroups.c @@ -39,7 +39,6 @@ bool is_dn(const char *str) } static errno_t sdap_save_netgroup(TALLOC_CTX *memctx, - struct sysdb_ctx *ctx, struct sss_domain_info *dom, struct sdap_options *opts, struct sysdb_attrs *attrs, @@ -201,7 +200,6 @@ struct netgr_translate_members_state { struct tevent_context *ev; struct sdap_options *opts; struct sdap_handle *sh; - struct sysdb_ctx *sysdb; struct sysdb_attrs **netgroups; size_t count; @@ -246,7 +244,6 @@ struct tevent_req *netgr_translate_members_send(TALLOC_CTX *memctx, state->ev = ev; state->opts = opts; state->sh = sh; - state->sysdb = sysdb; state->netgroups = netgroups; state->count = count; state->dn_list = NULL; @@ -712,7 +709,7 @@ static void netgr_translate_members_done(struct tevent_req *subreq) now = time(NULL); for (c = 0; c < state->count; c++) { - ret = sdap_save_netgroup(state, state->sysdb, + ret = sdap_save_netgroup(state, state->dom, state->opts, state->netgroups[c], |