phb4: Move code around to avoid indenting
No functional change.
@@ -3179,8 +3179,8 @@ static int64_t phb4_eeh_next_error(struct phb *phb,
}
}
- /* Mapping errors */
- if (phb4_err_pending(p)) {
+ if (!phb4_err_pending(p))
+ return OPAL_SUCCESS;
/*
* If the frozen PE is caused by a malfunctioning TLP, we
* need reset the PHB. So convert ER to PHB-fatal error
@@ -3243,8 +3243,6 @@ static int64_t phb4_eeh_next_error(struct phb *phb,
*severity = OPAL_EEH_SEV_NO_ERROR;
phb4_set_err_pending(p, false);
}
- }
-
return OPAL_SUCCESS;
}
