summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-11-09 12:42:54 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-11-27 18:24:45 +0100
commite2640b7a0ccfe2b00311d20ae18006ccc82a834c (patch)
treee3a821ef9c329498e3dbd3c4022812859148d31f /src/tools
parent28ce9dab8537870210761b15f037addd1de65e02 (diff)
downloadsssd-e2640b7a0ccfe2b00311d20ae18006ccc82a834c.tar.gz
sssd-e2640b7a0ccfe2b00311d20ae18006ccc82a834c.tar.xz
sssd-e2640b7a0ccfe2b00311d20ae18006ccc82a834c.zip
Remove unused parameter from invalidate_entry
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c
index 8a232b788..934855127 100644
--- a/src/tools/sss_cache.c
+++ b/src/tools/sss_cache.c
@@ -86,7 +86,7 @@ struct cache_tool_ctx {
errno_t init_domains(struct cache_tool_ctx *ctx, const char *domain);
errno_t init_context(int argc, const char *argv[], struct cache_tool_ctx **tctx);
-static errno_t invalidate_entry(TALLOC_CTX *ctx, struct sysdb_ctx *sysdb,
+static errno_t invalidate_entry(TALLOC_CTX *ctx,
struct sss_domain_info *domain,
const char *name, int entry_type);
static bool invalidate_entries(TALLOC_CTX *ctx,
@@ -400,7 +400,7 @@ static bool invalidate_entries(TALLOC_CTX *ctx,
ERROR("Couldn't invalidate %1$s", type_string);
iret = false;
} else {
- ret = invalidate_entry(ctx, sysdb, dinfo, c_name, entry_type);
+ ret = invalidate_entry(ctx, dinfo, c_name, entry_type);
if (ret != EOK) {
DEBUG(SSSDBG_MINOR_FAILURE,
("Couldn't invalidate %s %s", type_string, c_name));
@@ -413,7 +413,7 @@ static bool invalidate_entries(TALLOC_CTX *ctx,
return iret;
}
-static errno_t invalidate_entry(TALLOC_CTX *ctx, struct sysdb_ctx *sysdb,
+static errno_t invalidate_entry(TALLOC_CTX *ctx,
struct sss_domain_info *domain,
const char *name, int entry_type)
{