diff options
author | Pavel Reichl <preichl@redhat.com> | 2015-11-02 14:59:49 +0100 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2015-11-02 16:01:04 +0100 |
commit | e307c269fe1dc94a1771b459c5925e449ba7668b (patch) | |
tree | 90ab33b1ba71a10ce0e23015a8f4e0aea68e3521 | |
parent | ba17e124aa7003a92680eda5df0a9b5292c8c19c (diff) | |
download | sssd-e307c269fe1dc94a1771b459c5925e449ba7668b.tar.gz sssd-e307c269fe1dc94a1771b459c5925e449ba7668b.tar.xz sssd-e307c269fe1dc94a1771b459c5925e449ba7668b.zip |
sudo: remove unused param name in sdap_sudo_get_usn()
Reviewed-by: Petr Cech <pcech@redhat.com>
-rw-r--r-- | src/providers/ldap/sdap_sudo_cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_sudo_cache.c b/src/providers/ldap/sdap_sudo_cache.c index 27203c227..56e84ce8f 100644 --- a/src/providers/ldap/sdap_sudo_cache.c +++ b/src/providers/ldap/sdap_sudo_cache.c @@ -28,7 +28,6 @@ static errno_t sdap_sudo_get_usn(TALLOC_CTX *mem_ctx, struct sysdb_attrs *attrs, struct sdap_attr_map *map, - const char *name, char **_usn) { const char *usn; @@ -86,7 +85,7 @@ sdap_save_native_sudorule(TALLOC_CTX *mem_ctx, return ret; } - ret = sdap_sudo_get_usn(mem_ctx, attrs, map, rule_name, _usn); + ret = sdap_sudo_get_usn(mem_ctx, attrs, map, _usn); if (ret != EOK) { DEBUG(SSSDBG_MINOR_FAILURE, "Could not read USN from %s\n", rule_name); *_usn = NULL; |