opal/hmi: Fix double unlock of hmi lock in failure path.
unlock once and goto error_out.
@@ -1042,10 +1042,6 @@ static int handle_all_core_tfac_error(uint64_t tfmr, uint64_t *out_flags)
if (!recover_corrupt_tfmr()) {
unlock(&hmi_lock);
recover = 0;
- }
-
- if (!recover) {
- unlock(&hmi_lock);
goto error_out;
}
