diff options
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/include/ctdb_client.h | 1 | ||||
-rw-r--r-- | ctdb/server/ctdb_client.c | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h index 323df7f7474..a48e506d271 100644 --- a/ctdb/include/ctdb_client.h +++ b/ctdb/include/ctdb_client.h @@ -243,7 +243,6 @@ int ctdb_ctrl_get_all_tunables(struct ctdb_context *ctdb, */ void ctdb_set_flags(struct ctdb_context *ctdb, unsigned flags); -int ctdb_set_socketname(struct ctdb_context *ctdb, const char *socketname); const char *ctdb_get_socketname(struct ctdb_context *ctdb); /* return pnn of this node */ diff --git a/ctdb/server/ctdb_client.c b/ctdb/server/ctdb_client.c index 98c61cb7452..f66ecbea7c1 100644 --- a/ctdb/server/ctdb_client.c +++ b/ctdb/server/ctdb_client.c @@ -1586,17 +1586,6 @@ void ctdb_set_flags(struct ctdb_context *ctdb, unsigned flags) ctdb->flags |= flags; } -/* - setup the local socket name -*/ -int ctdb_set_socketname(struct ctdb_context *ctdb, const char *socketname) -{ - ctdb->daemon.name = talloc_strdup(ctdb, socketname); - CTDB_NO_MEMORY(ctdb, ctdb->daemon.name); - - return 0; -} - const char *ctdb_get_socketname(struct ctdb_context *ctdb) { return ctdb->daemon.name; |