summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-05-19 07:28:49 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-06-03 13:35:00 +0200
commit8c43f887d0cd92d6041abf7cf7ff8085a6d2ae82 (patch)
treec7367ba6ee4adcf3f4c3f023f4e79cbcd8c61856
parentf3aff09a88ba61e38f77332382da170fae9a8f36 (diff)
downloadsssd-sbus-1-11.zip
sssd-sbus-1-11.tar.gz
sssd-sbus-1-11.tar.xz
Remove unused parameter from ifp_user_get_groups_replysbus-1-11
Reviewed-by: Pavel Reichl <preichl@redhat.com> (cherry picked from commit 4084ccd3442917c7aa88ba4d76ba1e71e67d3846)
-rw-r--r--src/responder/ifp/ifpsrv_cmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/responder/ifp/ifpsrv_cmd.c b/src/responder/ifp/ifpsrv_cmd.c
index 745f243..84abfc1 100644
--- a/src/responder/ifp/ifpsrv_cmd.c
+++ b/src/responder/ifp/ifpsrv_cmd.c
@@ -234,7 +234,6 @@ ifp_user_get_attr_handle_reply(struct ifp_req *ireq,
static void ifp_user_get_groups_process(struct tevent_req *req);
static errno_t ifp_user_get_groups_reply(struct ifp_req *ireq,
- const char *user,
struct ldb_result *res);
int ifp_user_get_groups(struct sbus_request *dbus_req,
@@ -313,7 +312,7 @@ static void ifp_user_get_groups_process(struct tevent_req *req)
return;
}
- ret = ifp_user_get_groups_reply(group_req->ireq, group_req->name, res);
+ ret = ifp_user_get_groups_reply(group_req->ireq, res);
if (ret != EOK) {
sbus_request_fail_and_finish(group_req->ireq->dbus_req,
sbus_error_new(group_req->ireq->dbus_req,
@@ -324,8 +323,7 @@ static void ifp_user_get_groups_process(struct tevent_req *req)
}
static errno_t
-ifp_user_get_groups_reply(struct ifp_req *ireq, const char *user,
- struct ldb_result *res)
+ifp_user_get_groups_reply(struct ifp_req *ireq, struct ldb_result *res)
{
int i, num;
const char *name;