@@ -279,17 +279,6 @@ cib_delete_callback(xmlNode *msg, int call_id, int rc, xmlNode *output,
279279 "[not(@" PCMK_OPT_SHUTDOWN_LOCK ") " \
280280 "or " PCMK_OPT_SHUTDOWN_LOCK "<%lld]"
281281
282- // Node's PCMK__XE_TRANSIENT_ATTRIBUTES section (name 1x)
283- #define XPATH_NODE_ATTRS XPATH_NODE_STATE "/" PCMK__XE_TRANSIENT_ATTRIBUTES
284-
285- // Everything under PCMK__XE_NODE_STATE (name 1x)
286- #define XPATH_NODE_ALL XPATH_NODE_STATE "/*"
287-
288- /* Unlocked history + transient attributes
289- * (name 2x, (seconds_since_epoch - PCMK_OPT_SHUTDOWN_LOCK_LIMIT) 1x, name 1x)
290- */
291- #define XPATH_NODE_ALL_UNLOCKED XPATH_NODE_LRM_UNLOCKED "|" XPATH_NODE_ATTRS
292-
293282/*!
294283 * \internal
295284 * \brief Get the XPath and description of a node state section to be deleted
@@ -320,19 +309,6 @@ controld_node_state_deletion_strings(const char *uname,
320309 uname , expire );
321310 desc_pre = "resource history (other than shutdown locks)" ;
322311 break ;
323- case controld_section_attrs :
324- * xpath = pcmk__assert_asprintf (XPATH_NODE_ATTRS , uname );
325- desc_pre = "transient attributes" ;
326- break ;
327- case controld_section_all :
328- * xpath = pcmk__assert_asprintf (XPATH_NODE_ALL , uname );
329- desc_pre = "all state" ;
330- break ;
331- case controld_section_all_unlocked :
332- * xpath = pcmk__assert_asprintf (XPATH_NODE_ALL_UNLOCKED , uname ,
333- uname , expire , uname );
334- desc_pre = "all state (other than shutdown locks)" ;
335- break ;
336312 default :
337313 // We called this function incorrectly
338314 pcmk__assert (false);
0 commit comments