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:
parent
9f68656b47
commit
318d526a0d
@ -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;
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user