From ac3a1f3da772cf101101c31675c63dc3549b21b5 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 31 Oct 2011 12:43:12 +0100 Subject: Cleanup: Remove unused parameters --- src/providers/proxy/proxy.h | 1 - src/providers/proxy/proxy_id.c | 2 +- src/providers/proxy/proxy_netgroup.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/providers/proxy') diff --git a/src/providers/proxy/proxy.h b/src/providers/proxy/proxy.h index fdf037c5..c7524289 100644 --- a/src/providers/proxy/proxy.h +++ b/src/providers/proxy/proxy.h @@ -142,7 +142,6 @@ void proxy_pam_handler(struct be_req *req); /* From proxy_netgroup.c */ errno_t get_netgroup(struct proxy_id_ctx *ctx, struct sysdb_ctx *sysdb, - struct sss_domain_info *dom, const char *name); diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c index c7fdf356..0a5f5427 100644 --- a/src/providers/proxy/proxy_id.c +++ b/src/providers/proxy/proxy_id.c @@ -1176,7 +1176,7 @@ void proxy_get_account_info(struct be_req *breq) ENODEV, "Netgroups are not supported"); } - ret = get_netgroup(ctx, sysdb, domain, ar->filter_value); + ret = get_netgroup(ctx, sysdb, ar->filter_value); break; default: /*fail*/ diff --git a/src/providers/proxy/proxy_netgroup.c b/src/providers/proxy/proxy_netgroup.c index bad0ee45..d0dd819e 100644 --- a/src/providers/proxy/proxy_netgroup.c +++ b/src/providers/proxy/proxy_netgroup.c @@ -65,7 +65,6 @@ static errno_t make_netgroup_attr(struct __netgrent netgrent, errno_t get_netgroup(struct proxy_id_ctx *ctx, struct sysdb_ctx *sysdb, - struct sss_domain_info *dom, const char *name) { struct __netgrent result; -- cgit