HomeClusterLabs Projects

Refactor: libpe_status: Remove redundant hashtable lookup

Description

Refactor: libpe_status: Remove redundant hashtable lookup

g_hash_table_remove() already contains a lookup.

Also remove a variable (value_ms) that's only used once and doesn't
contribute much to readability.

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

Details

Provenance
nrwahl2Authored on Aug 3 2020, 7:00 PM
Parents
rP04a4f8026e1d: Refactor: libpe_status: Use timeout_ms and timeout_spec
Branches
Unknown
Tags
Unknown

Event Timeline