summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_sudo.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2015-11-25 13:16:17 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2015-12-15 16:27:20 +0100
commit38262a2622af9fe71ca336799da6e88d91be0d81 (patch)
tree50caa5baeae72878bb589c17e362fe5c223838ce /src/providers/ldap/sdap_sudo.c
parentcb235ec146f1ba81c211f8506736edea436be28a (diff)
downloadsssd-38262a2622af9fe71ca336799da6e88d91be0d81.tar.gz
sssd-38262a2622af9fe71ca336799da6e88d91be0d81.tar.xz
sssd-38262a2622af9fe71ca336799da6e88d91be0d81.zip
SUDO: remove finalizer
It is not used anywhere anyway. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/providers/ldap/sdap_sudo.c')
-rw-r--r--src/providers/ldap/sdap_sudo.c8
1 files changed, 1 insertions, 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)