From: Amitay Isaacs Date: Mon, 27 Jun 2016 08:37:27 +0000 (+1000) Subject: ctdb-pmda: CTDB client code does not require ctdb->methods X-Git-Tag: tdb-1.3.10~496 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a67bb449655b2de0d6c7c905833a23956633f91;p=thirdparty%2Fsamba.git ctdb-pmda: CTDB client code does not require ctdb->methods Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/utils/pmda/pmda_ctdb.c b/ctdb/utils/pmda/pmda_ctdb.c index 7055d1646b0..f644c6579d6 100644 --- a/ctdb/utils/pmda/pmda_ctdb.c +++ b/ctdb/utils/pmda/pmda_ctdb.c @@ -274,10 +274,6 @@ err_ev: static void pmda_ctdb_daemon_disconnect(void) { - if (ctdb->methods) { - ctdb->methods->shutdown(ctdb); - } - if (ctdb->daemon.sd != -1) { close(ctdb->daemon.sd); }