diff mbox series

[3/9] phb4: Remove unused code

Message ID 20171020115942.26732-3-mikey@neuling.org
State Superseded
Headers show
Series [1/9] phb4: Update comment | expand

Commit Message

Michael Neuling Oct. 20, 2017, 11:59 a.m. UTC
This is old unused code from phb3 so just remove it.

No functional change

Signed-off-by: Michael Neuling <mikey@neuling.org>
---
 hw/phb4.c | 10 ----------
 1 file changed, 10 deletions(-)
diff mbox series

Patch

diff --git a/hw/phb4.c b/hw/phb4.c
index ceab7da933..a5f47a713c 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) {