summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-10-11 22:41:21 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2015-10-12 14:46:54 +0200
commit828433f7b73481cdff8d57ac378f156a676e3357 (patch)
tree1045ad6daba1ed7b729076e0e750fb7116db9c84 /src/providers
parent8835ecb2ff5126629993a6b6d3fb0bb7baa3b765 (diff)
downloadsssd-828433f7b73481cdff8d57ac378f156a676e3357.tar.gz
sssd-828433f7b73481cdff8d57ac378f156a676e3357.tar.xz
sssd-828433f7b73481cdff8d57ac378f156a676e3357.zip
autofs: remove unused params in del_autofs_entries
Remove unused sdap_options and map parameters. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/sdap_async_autofs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/providers/ldap/sdap_async_autofs.c b/src/providers/ldap/sdap_async_autofs.c
index 1db8d2067..ed0125885 100644
--- a/src/providers/ldap/sdap_async_autofs.c
+++ b/src/providers/ldap/sdap_async_autofs.c
@@ -160,8 +160,6 @@ save_autofs_entries(struct sss_domain_info *domain,
static errno_t
del_autofs_entries(struct sss_domain_info *dom,
- struct sdap_options *opts,
- const char *map,
char **del_dn_list)
{
size_t i;
@@ -920,8 +918,7 @@ sdap_autofs_setautomntent_save(struct tevent_req *req)
/* Delete entries that don't exist anymore */
if (del_entries && del_entries[0]) {
- ret = del_autofs_entries(state->dom, state->opts,
- state->mapname, del_entries);
+ ret = del_autofs_entries(state->dom, del_entries);
if (ret != EOK) {
DEBUG(SSSDBG_OP_FAILURE,
"Cannot delete autofs entries [%d]: %s\n",