Commit adb9823 SYSDB: Remove unused parameter from sysdb_cache_connect_helper

1 file Authored by lslebodn 4 months ago , Committed by jhrozek 4 months ago ,
SYSDB: Remove unused parameter from sysdb_cache_connect_helper

Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

    
 1 @@ -584,7 +584,6 @@
 2   }
 3   
 4   static errno_t sysdb_cache_connect_helper(TALLOC_CTX *mem_ctx,
 5 -                                           struct sysdb_ctx *sysdb,
 6                                             struct sss_domain_info *domain,
 7                                             const char *ldb_file,
 8                                             int flags,
 9 @@ -710,7 +709,7 @@
10   
11       ldb_file_exists = !(access(sysdb->ldb_file, F_OK) == -1 && errno == ENOENT);
12   
13 -     ret = sysdb_cache_connect_helper(mem_ctx, sysdb, domain, sysdb->ldb_file,
14 +     ret = sysdb_cache_connect_helper(mem_ctx, domain, sysdb->ldb_file,
15                                         0, SYSDB_VERSION, SYSDB_BASE_LDIF,
16                                         &newly_created, ldb, version);
17   
18 @@ -733,7 +732,7 @@
19                                         struct ldb_context **ldb,
20                                         const char **version)
21   {
22 -     return sysdb_cache_connect_helper(mem_ctx, sysdb, domain, sysdb->ldb_ts_file,
23 +     return sysdb_cache_connect_helper(mem_ctx, domain, sysdb->ldb_ts_file,
24                                         LDB_FLG_NOSYNC, SYSDB_TS_VERSION,
25                                         SYSDB_TS_BASE_LDIF, NULL,
26                                         ldb, version);