HomeClusterLabs Projects

Refactor: fencer: no need to check the length of a non-empty list for pending…

Description

Refactor: fencer: no need to check the length of a non-empty list for pending fencing actions

"if (device->pending_ops)" is sufficient here. An empty GList* is
guaranteed to be NULL, and a non-empty list non-NULL.

Details

Provenance
gao-yanAuthored on Oct 14 2019, 8:14 AM
Parents
rP87476637fcb0: Merge pull request #1905 from kgaillot/fixes
Branches
Unknown
Tags
Unknown

Event Timeline