From 38262a2622af9fe71ca336799da6e88d91be0d81 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Wed, 25 Nov 2015 13:16:17 +0100 Subject: SUDO: remove finalizer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is not used anywhere anyway. Reviewed-by: Jakub Hrozek Reviewed-by: Lukáš Slebodník --- src/providers/ldap/sdap_sudo.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c index 76cc41050..a524601c5 100644 --- a/src/providers/ldap/sdap_sudo.c +++ b/src/providers/ldap/sdap_sudo.c @@ -30,15 +30,9 @@ #include "providers/ldap/sdap_sudo_cache.h" #include "db/sysdb_sudo.h" -static void -sdap_sudo_shutdown(struct be_req *req) -{ - sdap_handler_done(req, DP_ERR_OK, EOK, NULL); -} - struct bet_ops sdap_sudo_ops = { .handler = sdap_sudo_handler, - .finalize = sdap_sudo_shutdown + .finalize = NULL }; static void sdap_sudo_online_cb(void *pvt) -- cgit