aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-09-12 14:56:14 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-12 23:04:07 -0500
commit2ba68c4886b27d25a96a6024370fbab1a9b85ff5 (patch)
treee1c8ae7e2a895089c7156680b9beb8d6c9b66c50 /include
parenta26f055af0d57a1d87f2893042be79f20594d4d9 (diff)
downloadskiboot-2ba68c4886b27d25a96a6024370fbab1a9b85ff5.zip
skiboot-2ba68c4886b27d25a96a6024370fbab1a9b85ff5.tar.gz
skiboot-2ba68c4886b27d25a96a6024370fbab1a9b85ff5.tar.bz2
phb4: Remove stable retries
This code was never used (since retries is set to 0), it's not very useful and it makes the code harder to read. So lets just remove it. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/pci-slot.h1
-rw-r--r--include/phb4.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/pci-slot.h b/include/pci-slot.h
index 5cc54f8..479bc08 100644
--- a/include/pci-slot.h
+++ b/include/pci-slot.h
@@ -185,7 +185,6 @@ struct pci_slot {
uint64_t delay_tgt_tb;
uint64_t retries;
uint64_t link_retries;
- uint64_t stable_retries;
struct pci_slot_ops ops;
void *data;
};
diff --git a/include/phb4.h b/include/phb4.h
index eb292cd..503d3f1 100644
--- a/include/phb4.h
+++ b/include/phb4.h
@@ -217,7 +217,6 @@ struct phb4_err {
/* Link timeouts, increments of 10ms */
#define PHB4_LINK_ELECTRICAL_RETRIES 100
#define PHB4_LINK_WAIT_RETRIES 200
-#define PHB4_LINK_STABLE_RETRIES 0
/* PHB4 flags */
#define PHB4_AIB_FENCED 0x00000001