HomeClusterLabs Projects

Refactor: tools: Drop crm_diff.c:strip_patch_cib_version()

Description

Refactor: tools: Drop crm_diff.c:strip_patch_cib_version()

This function never validated format. It had two cases: format == 2, and
format != 2. The format != 2 case assumed format == 1.

The format == 2 case can be converted to a one-liner.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on May 31 2024, 8:54 PM
Parents
rPafb9bcf348a9: Refactor: fencer: Drop v1 patchset support from update_fencing_topology
Branches
Unknown
Tags
Unknown