aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-10-23 21:22:16 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-10-23 12:37:52 -0500
commita4c2d2fd5ba23712fb1fc9ce69f80b670c30c11e (patch)
treedb199aee9256bdcc07530dcfce8023b162413154
parent2d193827e45ded301312684011dea6a6459bab51 (diff)
downloadskiboot-a4c2d2fd5ba23712fb1fc9ce69f80b670c30c11e.zip
skiboot-a4c2d2fd5ba23712fb1fc9ce69f80b670c30c11e.tar.gz
skiboot-a4c2d2fd5ba23712fb1fc9ce69f80b670c30c11e.tar.bz2
phb4: Remove unused code
This is old unused code from phb3 so just remove it. No functional change Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/phb4.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/hw/phb4.c b/hw/phb4.c
index 3555565..5e93a78 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -3187,16 +3187,6 @@ static int64_t phb4_eeh_next_error(struct phb *phb,
* for the case.
*/
if (p->err.err_class == PHB4_ERR_CLASS_ER) {
-#if 0
- // FIXME XXXXX
- fir = phb4_read_reg_asb(p, PHB_LEM_FIR_ACCUM);
- if (fir & PPC_BIT(60)) {
- phb4_pcicfg_read32(&p->phb, 0,
- p->aercap + PCIECAP_AER_UE_STATUS, &cfg32);
- if (cfg32 & PCIECAP_AER_UE_MALFORMED_TLP)
- p->err.err_class = PHB4_ERR_CLASS_FENCED;
- }
-#endif
}
switch (p->err.err_class) {