Skip to content

Commit

Permalink
SUDO: remove finalizer
Browse files Browse the repository at this point in the history
It is not used anywhere anyway.

Reviewed-by: Jakub Hrozek <[email protected]>
Reviewed-by: Lukáš Slebodník <[email protected]>
(cherry picked from commit 38262a2)
  • Loading branch information
pbrezina authored and Lukas Slebodnik committed Dec 15, 2015
1 parent cf6f8b4 commit bbfbada
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/providers/ldap/sdap_sudo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bbfbada

Please sign in to comment.