summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-11-15 23:17:30 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-11-27 18:24:45 +0100
commitb15e6ce8daa1eb1eefd28f050f8ab048bb3f060c (patch)
treebcbf6d081654571d177252dde69fbc7d4d0fd88e /src/tools
parent23b14c1931b6d7e7f767c247061512e6f5eb609c (diff)
downloadsssd-b15e6ce8daa1eb1eefd28f050f8ab048bb3f060c.tar.gz
sssd-b15e6ce8daa1eb1eefd28f050f8ab048bb3f060c.tar.xz
sssd-b15e6ce8daa1eb1eefd28f050f8ab048bb3f060c.zip
Remove unused parameter from group_show_trim_memberof
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_groupshow.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/sss_groupshow.c b/src/tools/sss_groupshow.c
index f33684519..02df6d4b4 100644
--- a/src/tools/sss_groupshow.c
+++ b/src/tools/sss_groupshow.c
@@ -311,7 +311,6 @@ int group_show_recurse(TALLOC_CTX *mem_ctx,
struct group_info ***up_members);
static int group_show_trim_memberof(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
const char *name,
const char **memberofs,
@@ -379,7 +378,7 @@ int group_show(TALLOC_CTX *mem_ctx,
}
/* if not recursive, only show the direct parent */
- ret = group_show_trim_memberof(mem_ctx, sysdb, domain, root->name,
+ ret = group_show_trim_memberof(mem_ctx, domain, root->name,
root->memberofs, &root->memberofs);
goto done;
}
@@ -408,7 +407,6 @@ done:
/*=========Nonrecursive search should only show direct parent========== */
static int group_show_trim_memberof(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
const char *name,
const char **memberofs,