1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

ctdb-common: Remove unused variable ctdb_eventscript_call_names.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Martin Schwenke 2024-02-10 15:36:32 +11:00 committed by Volker Lendecke
parent 9f68656b47
commit 318d526a0d
2 changed files with 0 additions and 20 deletions

View File

@ -594,23 +594,6 @@ ctdb_node_list_to_map(struct ctdb_node **nodes, uint32_t num_nodes,
return node_map;
}
const char *ctdb_eventscript_call_names[] = {
"init",
"setup",
"startup",
"startrecovery",
"recovered",
"takeip",
"releaseip",
"stopped",
"monitor",
"status",
"shutdown",
"reload",
"updateip",
"ipreallocated"
};
/* Runstate handling */
static struct {
enum ctdb_runstate runstate;

View File

@ -52,9 +52,6 @@ struct ctdb_script_list_old {
struct ctdb_script scripts[1];
};
/* Mapping from enum to names. */
extern const char *ctdb_eventscript_call_names[];
/*
packet structures
*/